{"name":"@iceworks/eslint-plugin-best-practices","version":"0.1.0-beta.7","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.7","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-n6n00vIpBEceFTCjGrx3AdQfGWuG8UEsN+Oxi189leQ+4lXoQ0JGbzUbPVUpdp6HEZHQ7WdbIJUjDPiF7lKuPA==","shasum":"22fdce60b1e810f8b461856da98b74aa74c30863","tarball":"http://registry-npm.ywwl.com/@iceworks/eslint-plugin-best-practices/download/@iceworks/eslint-plugin-best-practices-0.1.0-beta.7.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\nwsFcBAEBCAAQBQJfTHu4CRA9TVsSAnZWagAAmMAP/21Zb51e3df/oXB28dvw\nY+b9OCzz/cQ++TOz4us+8cHSGteGwoyZoyLQSKMVAtxnqL3+EoS6CfsAKdIs\nRgqj9XQCtYHxsPbTe1/5H5LlY8XkvE5ENjjMf+J518NuKQ0oySjDurDTvfKq\nLpRK2sT80vovFVvbWN5NHL5UxNtqSRyZg7ZP3HM2Wvff+14KBoQ9Z2DWdRyQ\n+wwLR84zC4sc4HRpskUr5H+oEIGo3C2XJETA8GER4FIQY7hvVVc9Otk6mYg5\nFYnelVVpyEzFZ8mRt/3fUyMeg6uEh0kBswC6rtvzcdy1LHj33MhNUIClRPTh\n+tadZP9lPKGnSEAhYSfGw1DVvrgXnimOksABbtYrFvbRSUr6m6/5EvJ5C0VH\nSXqvGa1b9JhDPKPxVROSsHrgOOEXdH8EQJFttc7xMIj+36QKTVHKaJnGt6Om\nveFndGIvaB1DPoJh25dm7q/Q/fmZ3ORAXdLg2ZhhWZ7uV6qURSRW7XOBU5z1\nSiN4XBy951vrlfAFwT5KqCmjS/4WPHwdxkwMxwn6DOgg6ZdqiCbKtO78E2oo\niohsxxCHSYvU6aOODOlTzKdDiHNTYVL8GuoEU1ADExjTSpCUc7RmHXjHP703\n5ffo6JG/v75B1E5bhqZLQqZ6okkYPyfjS8lIfXi6Abs64v7S5vz42XkwRFJ9\nCaOM\r\n=j5RX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFTk2kxS/vRcTVGeYOiCrMT/8jPm7syxII7g8TdvJGPjAiEA7h5ceayf/5p9rhnDLZ+5vhdKGUly7Mgtk9Aq/7Ni5g4="}],"size":5184,"noattachment":false,"key":"/@iceworks/eslint-plugin-best-practices/-/@iceworks/eslint-plugin-best-practices-0.1.0-beta.7.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.7_1598847928303_0.28635907996793786"},"_hasShrinkwrap":false,"publish_time":1598847928397,"_cnpm_publish_time":1598847928397,"dist-tags":{"beta":"0.2.4-0","latest":"0.2.11"}}