{"name":"@iceworks/eslint-plugin-best-practices","version":"0.1.0-beta.6","description":"Iceworks doctor best practices eslint plugin.","keywords":["iceworks","doctor","best practices","eslint","eslintplugin","eslint-plugin"],"main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"test":"mocha tests --recursive"},"dependencies":{"fs-extra":"^9.0.1","line-column":"^1.0.2","path-to-regexp":"^6.1.0","requireindex":"~1.1.0","semver":"^7.3.2"},"devDependencies":{"eslint":"^7.1.0","mocha":"^7.2.0"},"readme":"# @iceworks/eslint-plugin-best-practices\n\nIceworks doctor best practices eslint plugin.\n\n## Installation\n\nInstall [esLint](http://eslint.org), `@ice/spec` and `@iceworks/eslint-plugin-best-practices`:\n\n```shell\n$ npm install --save-dev eslint @ice/spec @iceworks/eslint-plugin-best-practices\n```\n\n## Usage\n\nAdd `best-practices` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n    \"plugins\": [\n        \"@iceworks/best-practices\"\n    ]\n}\n```\n\n\nThen configure the rules you want to use under the rules section.\n\n```json\n{\n    \"rules\": {\n        \"@iceworks/best-practices/rule-name\": 2\n    }\n}\n```\n\nOr you can only use extends to set default rules config.\n\n```json\n{\n    \"extends\": [\"plugin:@iceworks/best-practices/recommended\"]\n};\n```\n\n## Supported Rules\n\n* [`deps-no-ice-scripts`](./docs/rules/deps-no-ice-scripts.md) It is not recommended to use ice-scripts, the new version is ice.js.\n* [`deps-no-resolutions`](./docs/rules/deps-no-resolutions.md) It is not recommended to use resolutions to lock the version.\n* [`deps-no-router-library`](./docs/rules/deps-no-router-library.md) It is not recommended to directly rely on routing libraries, such as react-router-dom, react-router. \n* [`deps-recommend-update-rax`](./docs/rules/ddeps-recommend-update-rax.md) Rax version < 1.0 , recommend to update Rax.\n* [`no-broad-semantic-versioning`](./docs/rules/no-broad-semantic-versioning.md) Recommended the semantic versioning include everything greater than a particular version in the same major range.\n* [`no-js-in-ts-project`](./docs/rules/no-js-in-ts-project.md) It is not recommended to use js and ts files at the same time.\n* [`no-lowercase-component-name`](./docs/rules/no-lowercase-component-name.md) It is not recommended to name components in lower case.\n* [`no-multi-nested-page`](./docs/rules/no-multi-nested-page.md) Multiple nested pages are not recommended.\n* [`recommend-functional-component`](./docs/rules/recommend-functional-component.md) It is not recommended to use class component.\n","readmeFilename":"README.md","_id":"@iceworks/eslint-plugin-best-practices@0.1.0-beta.6","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-wp4dCXAZfrg/aizLKadq1MSCSQ2B7Es3RJNodWYVA+FSEii1n5/o7Y0g8SrpDz2J8B6ITTZFUuUXqS6srEb0+g==","shasum":"cb43e1dc4e089bd9c7d58ef491da73f65d38b69c","tarball":"http://registry-npm.ywwl.com/@iceworks/eslint-plugin-best-practices/download/@iceworks/eslint-plugin-best-practices-0.1.0-beta.6.tgz","fileCount":35,"unpackedSize":24205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTGNACRA9TVsSAnZWagAA/VkP/0Q5ujtznt36l+7T5nhC\n1RXsTXDfzbo1CkKdnIhchsuD1xWOmUvLFsdYbNF34vTF1C6NXasVMGcBfgZy\nrcSPgA/B4SCA5hYV91QnqEKLI+NKY+XhrZUvAZjF+mn7S+a8gSJABnZ0LE6g\n6QQqnUzBJqKkKJS/H0wSs2Us2HSZggfH3sIZ1uj8ScY1Ll6cviMgOGfHnHfQ\nJREj+UXf3s0klrjMewTBeT50vMHNwDyoKik3O+M0Iafiuxv1ZZjhSBvFbAVz\n/SbyQR9Ou89Xdndcr8dzlZ2ToDOHZwFevTuReIJtkS7HSRuXii/wpf703J+N\n2lG69IaY4u6n3GeCnKvmbSYj5eLYeezoWysQv5AQo85fN1PMaUbaYYum6HEf\nFF8DbFQk2k8vp3/Pi3eZC73a0+X7rNL4SbEbMiLMgDUxDWoOPqP71DvY4MgP\nGy2krzlovqrnvrMDACSfhB+CgFUDkTqYYdMsfpponyQCtHk2RJ6KU/sEoox5\nsKCIQ9c1Da6LtsdHYUr62xZvlSixU44mKf8ezbUfEa1EEiSHLxzjf3CbVc00\nlEzRDCCs0nLbC3DNRvGvLNWu6sF0uwVu+3x1QW6pEc6+NiAAG7UMWQS0nHf/\nGaaS0UCBwDhCNAVhpXw7+NrOVH9+6mswL7EO+25cUxn1YN0nEpd6QL5zltgS\nyEyS\r\n=3xAi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+6m1uDfatq/pv8d1yviYuzW2Ki5eDelpJEyIMzDr2FwIgXCGfGRkoJkKoW26LY6M3mL1m3+HQS5Cgu4+LvqSBk4w="}],"size":5184,"noattachment":false,"key":"/@iceworks/eslint-plugin-best-practices/-/@iceworks/eslint-plugin-best-practices-0.1.0-beta.6.tgz"},"maintainers":[{"name":"alvinhui","email":"alvin.hui@qq.com"},{"name":"empireo","email":"yudong.myd@alibaba-inc.com"},{"name":"fyangstudio","email":"18767120422@163.com"},{"name":"luhengchang228","email":"luhengchang228@126.com"},{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},{"name":"sobear","email":"sobear.me@gmail.com"},{"name":"yuanyan","email":"yuanyan.cao@gmail.com"}],"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-best-practices_0.1.0-beta.6_1598841663527_0.5451390436203882"},"_hasShrinkwrap":false,"publish_time":1598841663671,"_cnpm_publish_time":1598841663671,"dist-tags":{"beta":"0.2.4-0","latest":"0.2.11"}}