{"_id":"@dzo/eslint-config-esdz","_rev":"4-7937ebdf59cdb07617d13321baff7c4b","name":"@dzo/eslint-config-esdz","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"name":"@dzo/eslint-config-esdz","version":"0.0.1","description":"ESLint 基础配置，集成react,vue,ts的规范。","main":"index.js","keywords":["eslint-config","@dzo/eslint-config-esdz","esbing"],"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"狄路"},"license":"ISC","dependencies":{"@babel/eslint-parser":"^7.16.5","@typescript-eslint/eslint-plugin":"^5.10.0","@typescript-eslint/parser":"^5.10.0","@vue/eslint-config-typescript":"^10.0.0","eslint":"^8.7.0","eslint-config-react-app":"^7.0.0","eslint-plugin-import":"^2.25.4","eslint-plugin-react":"^7.28.0","eslint-plugin-react-hooks":"^4.3.0","eslint-plugin-vue":"^8.3.0"},"devDependencies":{"typescript":"^4.5.5"},"gitHead":"8734be7bd38654eded4ad56f3d59c10b1273f704","_id":"@dzo/eslint-config-esdz@0.0.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-F1L2D95ADGHFH3+B3jnGmxSGHXwhd5aGnNQnVMC09a+ESrLZCMSgOw94sMWbWCaA1Ac80A4vBiBbBkAEfoUkpQ==","shasum":"4cd4b6ed781e1a09543c023b507e2a1c03bc8c6f","tarball":"https://registry.npmjs.org/@dzo/eslint-config-esdz/-/eslint-config-esdz-0.0.1.tgz","fileCount":12,"unpackedSize":73061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBf8tCRA9TVsSAnZWagAAoYYP/03bnbthwTvVCkIzOiK9\nK7jqYEafiufHi1zoZeDFPLQuu2/eHqIErty37BqegOzn6FBEOxCCIHW54EZf\n8AS1z3Tn0/4Q5WHZNmjdQ50eOe8jEDhDU+GESldhcUndl5YsT/KO+pSKN6nI\nmIS1MQRH+RDVGqm/oKBSbsPM0PCJ71W6mV2MElZXrgs1rflFOSCddDpRyYhL\n3AGt1hePw1c/IT1XEUue9uL9l3ynrOVNL5sSiWL26iJDb9cZmasu1tTZsMBF\nRyMVtSuLMWvQQH6pljrFiKYzERlwqqUir2CoKjI++fMPuwV0/EmHeChr9w7s\n4FQg/iJUJHPcC7wRKZfjmtUfr5EnC5vCpfBilbBPHogqDVHfcRONeEURPW6R\nC4DuR1cgmiYSW6uyGjLAAn+2maaZYen+sr/jTmQ/5zTSblQOQ/0h+Abeennn\n1hMmpSxtQoE/GaH98Yet9lEr/lmSRjl9gcZZ+M63Nivf1vbAAM8Z8l4kA+ZS\nx27T3s7aQPutXX4MVkXe914sVPlkZJUDtDyYI3RFH0oEjcHHpMFzfscQm6J0\nKHlbPNaJp9HkQBWURnp+fJ0LcfWsIudh6Ni7hyo3dyjCIOsbgHPA3GoZZFW4\ntfiTIbtk0fyA4Pgn9m9wjJUOT6kttxiDMfnXnAyE6DcAKt7ut8WuBLBYRbb3\naA4x\r\n=Kv5g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIYwrEYhsD8NQaLL2QDeGVl97sdexlJ3K0/2rt4hlRVgIhAMyd4DKOsrm1uOarzOxj6ew34TDDAKoKYFh5AJT4/JQ9"}]},"_npmUser":{"name":"jws132","email":"jiangwenshu1990@126.com"},"directories":{},"maintainers":[{"name":"xkbhcq","email":"xkb1501110467@163.com"},{"name":"jws132","email":"jiangwenshu1990@126.com"},{"name":"dzweb","email":"ue@dazhenyun.cn"},{"name":"bruceliu68","email":"lbcmy68@126.com"},{"name":"kakarrotto","email":"18119608774@163.com"},{"name":"eric168","email":"1932945408@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-esdz_0.0.1_1644560173033_0.48526609665800247"},"_hasShrinkwrap":false},"0.0.2":{"name":"@dzo/eslint-config-esdz","version":"0.0.2","description":"ESLint 基础配置，集成react,vue,ts的规范。","main":"index.js","keywords":["eslint-config","@dzo/eslint-config-esdz","esbing"],"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"狄路"},"license":"ISC","dependencies":{"@babel/eslint-parser":"^7.16.5","@typescript-eslint/eslint-plugin":"^5.10.0","@typescript-eslint/parser":"^5.10.0","@vue/eslint-config-typescript":"^10.0.0","eslint":"^8.7.0","eslint-config-react-app":"^7.0.0","eslint-plugin-import":"^2.25.4","eslint-plugin-react":"^7.28.0","eslint-plugin-react-hooks":"^4.3.0","eslint-plugin-vue":"^8.3.0"},"devDependencies":{"typescript":"^4.5.5"},"gitHead":"8734be7bd38654eded4ad56f3d59c10b1273f704","_id":"@dzo/eslint-config-esdz@0.0.2","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-vU/cP4byTk8CIIB3JfFe4YfdEt/6IM7M10BUHnl9KOjaAffbG5ssdyaW4gxB8Rz4shqeijLkU3By/3Owj2l4+Q==","shasum":"ac902d984504989276dfc2c467bde82b2748e297","tarball":"https://registry.npmjs.org/@dzo/eslint-config-esdz/-/eslint-config-esdz-0.0.2.tgz","fileCount":12,"unpackedSize":73120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEvsjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrAzQ//WiR7aduKq1xiB9b76h4yteWXgklUNgvxEK3uBagXL95cpf/k\r\nA+hGo4x0ZyZR2aVsZH4mzquT2YTQzLA/9PpiFNXW2/+Ka64x4e7ZLd48H/3U\r\nbm32CNlMmvOIim/lAQrE3IUiC8WNihYYARM2EZGhovnoqFYcH5eXVtQPdhw/\r\nUAELioIj1HPuJ4yGZBuSvle+d6EkeEuimYNw5sQoI3EG7ExXiLQtdgFUkbcG\r\n+D30ijhOCrAMT1LX9bO1CP4j+0/nnIsAaiV8HBl8lfGVfnRL3dm28GwFfzFj\r\ny+Vy1/dN9GEhVVGR2QVTQHv76+joaXiMFoNFZYvqPfh9/mzWNMuYlCC4JLsK\r\nLjFNUMJ6+LT3rcZpfjnSuiqRPCn0xkpwfo87DHTfzJaArNZwVvjdPFn0digj\r\niWsYeumErOdw3P6QS1w6oDaf9xNXfB76PuvXBv57iwbftY8cnUk24gq/Za3D\r\n0aPIqprWQWyWKRJQvkRNx0ZRYBDW7QXuVEN8DU6o3LDKAUXV/VzhjotJAGUC\r\naKjKoniRdfCLe4iI7NfzTrIfgZ5Ua9iht2wyZiam6MR2voCbkINQCK/jbuHw\r\n2xvAhp0tWSQGwmtKQy9rbb3zvNG3v78CLf0/uKnN3dsgmh070SGD5mL2GUvx\r\n4GGw4yYsC0y9Hx9RSPbmD/s9WLRSd4YX5/w=\r\n=aCzK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQb96QQW04ddMP81TPv+les2aTtwhdDV7suJvFOr8puwIhALp1m6Nf4SCTI4XrFvpXQ8dT1+y3CgUZGLUP8ZibNROa"}]},"_npmUser":{"name":"jws132","email":"jiangwenshu1990@126.com"},"directories":{},"maintainers":[{"name":"xkbhcq","email":"xkb1501110467@163.com"},{"name":"jws132","email":"jiangwenshu1990@126.com"},{"name":"dzweb","email":"ue@dazhenyun.cn"},{"name":"bruceliu68","email":"lbcmy68@126.com"},{"name":"kakarrotto","email":"18119608774@163.com"},{"name":"eric168","email":"1932945408@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-esdz_0.0.2_1645411106901_0.7479639705693364"},"_hasShrinkwrap":false},"0.0.3":{"name":"@dzo/eslint-config-esdz","version":"0.0.3","description":"ESLint 基础配置，集成react,vue,ts的规范。","main":"index.js","keywords":["eslint-config","@dzo/eslint-config-esdz","esbing"],"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"狄路"},"license":"ISC","dependencies":{"@babel/eslint-parser":"^7.16.5","@typescript-eslint/eslint-plugin":"^5.10.0","@typescript-eslint/parser":"^5.10.0","@vue/eslint-config-typescript":"^10.0.0","eslint":"^8.7.0","eslint-config-react-app":"^7.0.0","eslint-plugin-import":"^2.25.4","eslint-plugin-react":"^7.28.0","eslint-plugin-react-hooks":"^4.3.0","eslint-plugin-vue":"^8.3.0"},"devDependencies":{"typescript":"^4.5.5"},"gitHead":"8734be7bd38654eded4ad56f3d59c10b1273f704","_id":"@dzo/eslint-config-esdz@0.0.3","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-labG74p9Wg/5xxM7TWNyu4lO4hAK2eD73YY7q1S0Q+10BW7gr31/KNaKA/18jOxFUYCY7BiUM4cnotCaM6RbKQ==","shasum":"2fc3077ad5d14a1dc810fe35be026a607385f7e1","tarball":"https://registry.npmjs.org/@dzo/eslint-config-esdz/-/eslint-config-esdz-0.0.3.tgz","fileCount":12,"unpackedSize":73160,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiE0iYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqyxhAAo/wT4aegzf/AIw/xCZxppJQwP8DQJb90y9WFKqDCRIhAGxXC\r\nvBP5vLTJXSQY+cX40FAgBcLW3cE+/BZzSE+pUYkEMeobHWVUCeOOWDP+ZrzG\r\neN2rkiKB/Rg84DbQniIXS1UjsOR3fIE6i5qR6lZbbRTdK27pHADsz4tvjeYs\r\ncx3r7npzDxFIZ7eF8ddEDeiLIgKdYkqQLUjmwfHAhvy8xvY+BXau3cfy6Ztz\r\n3GZy3XTXbDlge0GJh2LiVtIpbhVb24wzVabmzkQ5Lx3eoDaReBRxAHYVxyl4\r\nizpHCgbDJJL12fmtRx/uUDa7e2e+HGhufzEBG9SiJjOSMdcoutdY8MOQ+ACF\r\nOGlKx8m4O/uNMOcc5ZnpisjagBpb2TxUDUWQKKQP0cjHovY/br3YH5WUi+/Z\r\nlv2E0U6jCWVAxmT5kYAVCWptB8pIgfJXUyMdr/YRAYoWxN0nN4yWm7o2Rh6W\r\np0NdTT/eKcNW2k3h1sp9hyj3ceN/L6+kMkLfCDR+Rck+HvBrF77eLNx2iwou\r\nuG15HIILaMyVCGZ8FCn5DtJ5DxJM4bpZ+PvkIxKcfe79QxeiOejkwsAD1iE4\r\n+3h7uolmn2/tutYFSCLdQw9aVzG4k+7MRGCcYghesftyEifhzGjCcNeqZU6e\r\nQfZGAlBNGi+AVqGzG1lxMzQAc8F7JY/2DZk=\r\n=lIH1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrx7f064KJHLqacpzcA4RwtPCUErJjH65byU8ikkkdswIhAMnZHdr6fyyKc+QWwarach+V5ZwTi60r6L/vcgYuqpgf"}]},"_npmUser":{"name":"jws132","email":"jiangwenshu1990@126.com"},"directories":{},"maintainers":[{"name":"xkbhcq","email":"xkb1501110467@163.com"},{"name":"jws132","email":"jiangwenshu1990@126.com"},{"name":"dzweb","email":"ue@dazhenyun.cn"},{"name":"bruceliu68","email":"lbcmy68@126.com"},{"name":"kakarrotto","email":"18119608774@163.com"},{"name":"eric168","email":"1932945408@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-esdz_0.0.3_1645430936150_0.15055254206253732"},"_hasShrinkwrap":false},"0.0.4":{"name":"@dzo/eslint-config-esdz","version":"0.0.4","description":"ESLint 基础配置，集成react,vue,ts的规范。","main":"index.js","keywords":["eslint-config","@dzo/eslint-config-esdz","esbing"],"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"狄路"},"license":"ISC","dependencies":{"@babel/eslint-parser":"^7.16.5","@typescript-eslint/eslint-plugin":"^5.10.0","@typescript-eslint/parser":"^5.10.0","@vue/eslint-config-typescript":"^10.0.0","eslint":"^8.7.0","eslint-config-react-app":"^7.0.0","eslint-plugin-import":"^2.25.4","eslint-plugin-react":"^7.28.0","eslint-plugin-react-hooks":"^4.3.0","eslint-plugin-vue":"^8.3.0"},"devDependencies":{"typescript":"^4.5.5"},"gitHead":"4818352ae16e297364d5a05167428b4be7ec2e5c","_id":"@dzo/eslint-config-esdz@0.0.4","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-DVbrveb30Ufv0ZdG9S9Yo4s0iAReaMd71Bs2uQveNM3ynpNVcnN/Xp0TTbGOnQqKMRmS2aIJx9r2APozceBIJw==","shasum":"d79e31eb9f662172ee4eab71141fe21e6151418f","tarball":"https://registry.npmjs.org/@dzo/eslint-config-esdz/-/eslint-config-esdz-0.0.4.tgz","fileCount":13,"unpackedSize":73620,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFHc1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoiNQ/9H27eeS04sOZm9in+/mbVPW5juiZ8rbnp0sMSPx4a+2XflAcR\r\nyjvuWK5nuWiN+4BJvP4J/r3y18+wgI+CFUvh09EmRM7E3vU2GTmxEVRPMXgf\r\nIk2tHx1hzgWaAIwmmPHrb50rrkiYm6Bawh+cYbp0lCaitITapCz3rcX+YMiY\r\n8qDrdPPyfW53aqn4MPstV+jQCFiilrlzsRC/dIH7nxKPFVfcgw7QqclkHBrg\r\nMW5u3r7e1uGMkCwYw1J3DVc0nRHHLRXcPCmshxkgTcW3oA5Si2M2XFi+M2XV\r\nyr/rsuBjx3Vrwux4SQMHoDiH89qiE8VY6Otg19BpqAbVCQ1YSZsnbINsxfp0\r\nmIoEwqlPYcEyR6qOtZ0Fqeod20/DDsLxJTr1eRLN3EapZSv2DBu5lFOG01lc\r\n26eWDy5/7ucWG8gtttMyyre6gTWWOYlT119aLJmVOmko0Xec/5Q2QywGEWLE\r\ng3MK8Kp0mK9Ixt7utLlZ6WjgzXvJ05P7BHo2k8p+Itj4NV3CUqtZ/ZC1P0Qv\r\n2GkXHULi/ef4IXwmSfc5PYXlTo2x7QlZb/ZbYO2w71ScaTs7zZ19y9GNqj92\r\nfjgD1Vglru4h0YAW8wv4YIGU1TcyKMt9PSeeEwXYPCZ6behjCpOIStt0edN3\r\nl7dsfNSAnI9vKSrfnX6iQTol7FQ7fKfaeIc=\r\n=ZCqr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGH40e69NhZoHJEIU4LntSnmTTk1di9HdYA3BrbG4/UGAiAdD54ov81YhpnwpN2/O6kVH88icOn19LOs65V94ELMLA=="}]},"_npmUser":{"name":"jws132","email":"jiangwenshu1990@126.com"},"directories":{},"maintainers":[{"name":"xkbhcq","email":"xkb1501110467@163.com"},{"name":"jws132","email":"jiangwenshu1990@126.com"},{"name":"dzweb","email":"ue@dazhenyun.cn"},{"name":"bruceliu68","email":"lbcmy68@126.com"},{"name":"kakarrotto","email":"18119608774@163.com"},{"name":"eric168","email":"1932945408@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-esdz_0.0.4_1645508405667_0.06823699773888614"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-11T06:16:12.980Z","0.0.1":"2022-02-11T06:16:13.226Z","modified":"2022-04-05T06:19:51.686Z","0.0.2":"2022-02-21T02:38:27.051Z","0.0.3":"2022-02-21T08:08:56.411Z","0.0.4":"2022-02-22T05:40:05.847Z"},"maintainers":[{"name":"xkbhcq","email":"xkb1501110467@163.com"},{"name":"jws132","email":"jiangwenshu1990@126.com"},{"name":"dzweb","email":"ue@dazhenyun.cn"},{"name":"bruceliu68","email":"lbcmy68@126.com"},{"name":"kakarrotto","email":"18119608774@163.com"},{"name":"eric168","email":"1932945408@qq.com"}],"description":"ESLint 基础配置，集成react,vue,ts的规范。","keywords":["eslint-config","@dzo/eslint-config-esdz","esbing"],"author":{"name":"狄路"},"license":"ISC","readme":"## ESLint 规范\r\n\r\n个人前端 ESLint 规范，目前支持`vue|react`\r\n\r\n#### 安装\r\n\r\n```shell\r\nnpm install @dzo/eslint-config-esdz -D\r\n# OR\r\nyarn add @dzo/eslint-config-esdz --dev\r\n```\r\n\r\n#### 使用\r\n\r\n在你的工程根目录下创建一个`.eslintrc.js`配置文件\r\n\r\n配置如下:\r\n\r\n- **基础配置**\r\n\r\n```js\r\nmodule.exports = {\r\n  extends: ['@dzo/esdz']\r\n}\r\n```\r\n\r\n- **vue**\r\n\r\n```js\r\nmodule.exports = {\r\n  extends: ['@dzo/esdz/vue']\r\n}\r\n```\r\n\r\n- **react**\r\n\r\n```js\r\nmodule.exports = {\r\n  extends: ['@dzo/esdz/react']\r\n}\r\n```\r\n\r\n:::caution\r\n如果项目之前安装过 ESLint 相关的包，建议卸载，避免引入不必要的包。如`eslint`、`eslint-plugin-vue`、`@babel/eslint-parser`、`@typescript-eslint/eslint-plugin` 、`@typescript-eslint/parser`、`@vue/eslint-config-typescript`、`eslint-config-react-app`、\r\n`eslint-plugin-import`等，直接在 package.json 搜索**eslint**，相关的包全部卸载\r\n:::\r\n\r\n版本更新\r\n0.0.2 修改\"semi\": [\"error\", \"always\"],必须分号结束\r\n0.0.3 新增prettier.js配置文件\r\n0.0.4 修改space-before-function-paren配置\r\n","readmeFilename":"README.md"}