{"name":"@iceworks/eslint-plugin-best-practices","version":"0.2.0-1","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-1","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"fyangstudio","email":"18767120422@163.com"},"dist":{"integrity":"sha512-O4ntCZGOD34jvOGHlcY75/080eed/Mp5xBeXCDcGoECmGVHiFJy5c0KdcbMVzCas5qXiy26YHJPVni+8d75WYg==","shasum":"050abbac31b64cd35f263600a7f5817b15cb3efc","tarball":"http://registry-npm.ywwl.com/@iceworks/eslint-plugin-best-practices/download/@iceworks/eslint-plugin-best-practices-0.2.0-1.tgz","fileCount":32,"unpackedSize":27570,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfl+c/CRA9TVsSAnZWagAAg/4P/015Wo8S7zcs0eycZwvq\nbv758EojfkBRZjSKQMUnK+iLEVc9S2w7MQp8aLFeUJW+MxMcV7eWychSAe/E\nWeQwFMKngK5X27eOAnj8AcgTyYHG8gD0ccLKTeRU1EVPk9OFSfyEqfFazjZY\nVeHFThKuFTcAEm7dLrPUgGFtJmvSsKkqMunbnjOV0ptOMceCO9xWvAW0WhWK\nm7iXNmDi6fMSaoi8iineqbUc8nIlvGnJKH2KFRffOgX7k58wspPOMg8GcvSh\naOJCAccTUOVpSFV0lJFJu+qIFuhRo8Vkd+4FDH0cPnZtvylQoTMOFz5lG7RG\nosjFfAUXP3HR+7NyocrEaDdyTGhjQRjOqqrWurfeBNmegpBQBffaernNZjga\n+xGjK/IHGSm8y7m/wusX+XixJOYgze6o2yv5d1pUzJfHQ4GLqV4uqsG9rJx0\naw8i9QGGXm1SDQjGJ4avoTb74T4p1/aFpHX6NF6NrsKxYXt5ZjQZgKXCjDmO\nbE/Kkgt3IdIPFSGPm3OdkG52XwRw/f6pyMV6/RKN02+iCOO6W1UB3H8nwYt8\nPkGTxxY5f+sXGMACS9Rr7Vr04raiQq7E1ShEJBa/VNHbDrgwyPlLhAdaalPz\n11m5nGKd8HbjJ5hfiahb78WSieuYpa2n759ktNwftAkddFAHA/5xD66YovN9\n2ZU8\r\n=YO1c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfm+dXUcfDwY3G9hYo5x4o01w0RyzaAQl7pxYytrVx6wIhANInLJFsx+htakpB6l0fYpx97JHRqqcOT6CIC1bQqOnT"}],"size":6630,"noattachment":false,"key":"/@iceworks/eslint-plugin-best-practices/-/@iceworks/eslint-plugin-best-practices-0.2.0-1.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-1_1603790655456_0.1332758408696375"},"_hasShrinkwrap":false,"publish_time":1603790655609,"_cnpm_publish_time":1603790655609,"dist-tags":{"beta":"0.2.4-0","latest":"0.2.11"}}