{"name":"@iceworks/eslint-plugin-best-practices","version":"0.1.1-beta.2","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","compile":"rm -rf lib && tsc -p ./tsconfig.json","prepublishOnly":"npm run compile"},"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.1-beta.2","_nodeVersion":"10.23.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-MwJAufSDqfYdIB7Thsp5ipXLa96V+taPkHqqgdO1XV7vNq3MOg/L+MhuDytT7Lr7k3u3rxYQeahZYJBhXwKnEQ==","shasum":"3503d59edf72895964fe7dc279e802d93b104d3b","tarball":"http://registry-npm.ywwl.com/@iceworks/eslint-plugin-best-practices/download/@iceworks/eslint-plugin-best-practices-0.1.1-beta.2.tgz","fileCount":35,"unpackedSize":24390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqk20CRA9TVsSAnZWagAAQ24QAJEEZ4E9lM26cWzbDWXB\nPaiBZ7N+pwVOuqz4YBqPfPPQQDn2yer9c0hTiKhArKwCSgn6lT4lLZAfgjhW\nYiI+3V86sOkLxw0weBiciVK94fStwlKbb2oPBNJ/tDD2y956L3QqbBA7rEk4\npcQPL4syFtp/FxMRiZ8xoWfD2pnqR6OPM0F5KkQrii1qWyfdiRrqjFAfanq0\nAaA3iWShsROSdd7ZPHOpnzHygRTGMvgrwIzjL07bzA8cYQC8x/Jn66fOyGd9\ntvD6QmtcQTlQkOJE2eAEuz7C8wrh8sX2vEzTvLuJ0SaEZWXE8lGG7nf6xLOe\nlN2jb598d6tv+2O8g9u+m26j4Bo2q0+vtN23CLIQwVimR/zfZ2nMOgYOayl1\nYS3X3cE0PemmKtw/4J2oVOqjYSvD49Sc6B4SJ3xuXwoarqseyumhsMY9IinK\nDLJV1fKKD+t6RK8K8s9IV7z2E5kteMZZK4wUB5I2zh5qTVbhBJN1PMAsTB64\nYKHXfy4UtiV2YRgnxfEMNQGAEOpAHe9x/JFW5iaMfZqndGbWPQ1HFNyCQvyr\nkTujx84d4tz2PPT2uet2M+RnP5+ltruD+Bj+9DD2iHDnCPKFV63mkwr6uM7e\nzm4iDQ3E5Npc8qvEBaYVUOBTzblIwDY+ULHs+eHGx8ArjkW4fFFP5UQFoqU5\nBpLv\r\n=v01q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA1gtJ+UmxI4mmYbGP/ey2zIHo2UboSYJtUGUEP4gSjlAiEAsQNlum5MrlOUB4aLFn5yBoxuQI98MCbBWaIr26Igsds="}],"size":5248,"noattachment":false,"key":"/@iceworks/eslint-plugin-best-practices/-/@iceworks/eslint-plugin-best-practices-0.1.1-beta.2.tgz"},"_npmUser":{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},"directories":{},"maintainers":[{"name":"fyangstudio","email":"18767120422@163.com"},{"name":"luhengchang228","email":"luhengchang228@126.com"},{"name":"rax-publisher","email":"rax-public@alibaba-inc.com"},{"name":"alvinhui","email":"alvin.hui@qq.com"},{"name":"empireo","email":"yudong.myd@alibaba-inc.com"},{"name":"sobear","email":"sobear.me@gmail.com"},{"name":"yuanyan","email":"yuanyan.cao@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-best-practices_0.1.1-beta.2_1604996531826_0.8662850495033749"},"_hasShrinkwrap":false,"publish_time":1604996531933,"_cnpm_publish_time":1604996531933,"dist-tags":{"beta":"0.2.4-0","latest":"0.2.11"}}