{"name":"@iceworks/eslint-plugin-best-practices","version":"0.2.0-0","description":"Iceworks best practices eslint plugin.","keywords":["iceworks","best practices","eslint","eslintplugin","eslint-plugin"],"main":"src/index.js","publishConfig":{"access":"public"},"dependencies":{"@mdn/browser-compat-data":"^2.0.3","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":"^6.8.0"},"readme":"# @iceworks/eslint-plugin-best-practices\n\nIceworks best practices eslint plugin.\n\n## Installation\n\nInstall [esLint](http://eslint.org), `@iceworks/eslint-plugin-best-practices`:\n\n```shell\n$ npm install --save-dev eslint @iceworks/eslint-plugin-best-practices\n```\n\n## Usage\n\nRecommend use [@iceworks/spec](https://www.npmjs.com/package/@iceworks/spec)\n\nThen configure the rules you want to use under the rules section.\n\n```js\n// .eslintrc.js\nconst { getESLintConfig } = require('@iceworks/spec');\n\n// getESLintConfig(rule: 'rax'|'rax-ts'|'react'|'react-ts', customConfig?);\nmodule.exports = getESLintConfig('rax', {\n  // custom config it will merge into main config\n  rules: {\n    '@iceworks/best-practices/rule-name': 'off',\n  },\n});\n```\n\n## Supported Rules\n\n- [`deps-no-ice-scripts`](https://github.com/ice-lab/spec/tree/master/packages/eslint-plugin-best-practices/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`](https://github.com/ice-lab/spec/tree/master/packages/eslint-plugin-best-practices/docs/rules/deps-no-resolutions.md) It is not recommended to use resolutions to lock the version.\n- [`deps-no-router-library`](https://github.com/ice-lab/spec/tree/master/packages/eslint-plugin-best-practices/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- [`no-broad-semantic-versioning`](https://github.com/ice-lab/spec/tree/master/packages/eslint-plugin-best-practices/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-http-url`](https://github.com/ice-lab/spec/tree/master/packages/eslint-plugin-best-practices/docs/rules/no-http-url.md) Recommended the http url switch to HTTPS.\n- [`no-js-in-ts-project`](https://github.com/ice-lab/spec/tree/master/packages/eslint-plugin-best-practices/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`](https://github.com/ice-lab/spec/tree/master/packages/eslint-plugin-best-practices/docs/rules/no-lowercase-component-name.md) It is not recommended to name components in lower case.\n- [`no-secret-info`](https://github.com/ice-lab/spec/tree/master/packages/eslint-plugin-best-practices/docs/rules/no-secret-info.md) Don't show `password` `token` and `secret` in plain text.\n- [`recommend-functional-component`](https://github.com/ice-lab/spec/tree/master/packages/eslint-plugin-best-practices/docs/rules/recommend-functional-component.md) It is not recommended to use class component.\n- [`recommend-polyfill`](https://github.com/ice-lab/spec/tree/master/packages/eslint-plugin-best-practices/docs/rules/recommend-polyfill.md) Recommend API which not supported in iOS 9 to add polyfill file.\n- [`recommend-update-rax`](https://github.com/ice-lab/spec/tree/master/packages/eslint-plugin-best-practices/docs/rules/recommend-update-rax.md) Rax version < 1.0 , recommend to update Rax.\n","readmeFilename":"README.md","_id":"@iceworks/eslint-plugin-best-practices@0.2.0-0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"fyangstudio","email":"18767120422@163.com"},"dist":{"integrity":"sha512-ZLEr+cDirkjHp2fxMKgmHRB/VZgakBJNHI3owhQxCvhdLv1W4dqeOrxCCrH4P6DHk0JFquUFJ4fmmcI7f5EtsA==","shasum":"a5aa3001b277a6c3c83eafefbb41fda7868e782f","tarball":"http://registry-npm.ywwl.com/@iceworks/eslint-plugin-best-practices/download/@iceworks/eslint-plugin-best-practices-0.2.0-0.tgz","fileCount":31,"unpackedSize":26501,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfl4n2CRA9TVsSAnZWagAAw4gP/jwqb5rUthgX0ilTP1dG\nL+TbsoqqE5WsBp2ToNZrTwQt0WWUrfJ3qAoiV7QHDcQruN6byvWfnTmy6fUT\nja4zdZ5VHDGBsmaYe6e1ygU1fgQCwm35oOG5s+4Z6XnCkXrzSdjtmvfwzbtQ\nlwfnnVFqA/3nztO5e/w4rOrbZ0HL9T52Tl0iBGGF63aUHwb5ZL+0pSAPtYE8\naDQCr1zGvcNP+B8NrJ22TOXj3e5A7bdzGBXMw8hWXuLswjj7uPLgp8iOwpqQ\nwPhgkF/RIvb7V+fSua35k1V706QRMjGhFzv00tlfXuYEHR6JDbQHXzP4MSzo\nJFOv+RkIY9Ha1TWLeu8vRKpjS+6wV1ADlhfzn1/d3QMw6xXMaUQV7dyHFOMy\nFepLz/EJfAJGoNTZlED7LbKfjwlECIaejD6bKqDJJ9AxxvEa94nqQYgghi2J\n0qAbGIGjPitzqPQQB/2mzPb8oAv8k2FCQ9djTw8ewxZps5rpEQ+gis7bYqt8\nvk57mVOBCDh6V3XihVIRtN5UVI3PGXxejP9xpdGVTUPqLYO8u2lTP+JUG6Hg\noiTostZYxW/MNHvMYYhzq0FyPfA5iF1V919wLnmy6Ab0Fb+V3idd/jjoue/6\nOclsRCH6dZxjmNX+yVHzLsunAxsUwo8tHv/iK/ig0oZFFgdrdIqtNLEJkr/x\nzBQ5\r\n=iNLq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCl57n4i/gDPF77ONGQKW1EqCWGecvlPNvIDMBvQawDVgIhANEt0lbFH1LEMLHVYjqBi/eQlIF6TjpP6Qc6JKrY6bYq"}],"size":6377,"noattachment":false,"key":"/@iceworks/eslint-plugin-best-practices/-/@iceworks/eslint-plugin-best-practices-0.2.0-0.tgz"},"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"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-best-practices_0.2.0-0_1603766773677_0.1933970375246079"},"_hasShrinkwrap":false,"publish_time":1603766773828,"_cnpm_publish_time":1603766773828,"dist-tags":{"beta":"0.2.4-0","latest":"0.2.11"}}