{"_id":"l-fe-eslint-plugin","name":"l-fe-eslint-plugin","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"l-fe-eslint-plugin","version":"1.0.0","description":"自定义eslint插件","scripts":{"test":"jest","prepublishOnly":"npm run test"},"keywords":["eslint","eslint-plugin"],"main":"src/index.js","author":{"name":"l"},"homepage":"https://github.com/li-ang-Z/l-fe-spec#readme","license":"ISC","repository":{"type":"git","url":"git+https://github.com/li-ang-Z/l-fe-spec.git"},"bugs":{"url":"https://github.com/li-ang-Z/l-fe-spec/issues"},"dependencies":{"fs-extra":"^9.0.1","require-all":"^3.0.0"},"devDependencies":{"eslint":"^8.7.0","jest":"^26.6.3"},"gitHead":"d59b3e3c847f6da85dd3534f5a86399e5c8849f4","_id":"l-fe-eslint-plugin@1.0.0","_nodeVersion":"16.20.2","_npmVersion":"lerna/6.6.2/node@v16.20.2+x64 (win32)","dist":{"integrity":"sha512-663U/UGRJ7Yjzpm9i+aE50Jzubp7WW070Emy2HS4bW2xNgRmOwThdbWYt5yArrt7zvMPMkCV55gys9lajTtZhg==","shasum":"61c8d200deb2ba2462eeae37d14faad90565f3e3","tarball":"https://registry.npmjs.org/l-fe-eslint-plugin/-/l-fe-eslint-plugin-1.0.0.tgz","fileCount":8,"unpackedSize":8131,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDpQuQmBDH1dixAFeRmPCvayyoV8pUjxi9iFNxHP80h1AIgb0nATGzlUOBWw2vzXK5ggfm6BP5YAaPUnAmqhPi0oyk="}]},"_npmUser":{"name":"ye_feng","email":"704786716@qq.com"},"directories":{},"maintainers":[{"name":"ye_feng","email":"704786716@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/l-fe-eslint-plugin_1.0.0_1783607624766_0.38258088647053423"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-09T14:33:44.714Z","1.0.0":"2026-07-09T14:33:44.929Z","modified":"2026-07-09T14:33:45.112Z"},"maintainers":[{"name":"ye_feng","email":"704786716@qq.com"}],"description":"自定义eslint插件","homepage":"https://github.com/li-ang-Z/l-fe-spec#readme","keywords":["eslint","eslint-plugin"],"repository":{"type":"git","url":"git+https://github.com/li-ang-Z/l-fe-spec.git"},"author":{"name":"l"},"bugs":{"url":"https://github.com/li-ang-Z/l-fe-spec/issues"},"license":"ISC","readme":"# l-fe-eslint-plugin\n\n## 安装\n\n除了本包，你需要同时安装 [ESlint](https://eslint.org/)\n\n```shell\n$ npm install l-fe-eslint-plugin eslint --save-dev\n```\n\n## 使用\n\n### 引入插件\n\n```js\n// .eslintrc.js\nmodule.exports = {\n  plugin: ['l-fe-eslint-config'],\n  rules: {\n    'l-fe-eslint-plugin/no-secret-info': 'error',\n  },\n};\n```\n\n### 使用 presets\n\n```js\n// .eslintrc.js\nmodule.exports = {\n  extends: 'plugin:l-fe-eslint-plugin/recommended',\n};\n```\n\n## 支持的规则\n\n- [`no-broad-semantic-versioning`](https://lliang.github.io/l-fe-spec/plugin/no-broad-semantic-versioning.html) 不要指定宽泛的版本范围\n- [`no-http-url`](https://lliang.github.io/l-fe-spec/plugin/no-http-url.html) 使用 HTTPS 协议头的 URL，而不是 HTTP\n- [`no-js-in-ts-project`](https://lliang.github.io/l-fe-spec/plugin/no-js-in-ts-project.html) 不要在 TS 项目中使用 JS\n- [`no-secret-info`](https://lliang.github.io/l-fe-spec/plugin/no-secret-info.html) 不要在代码中直接设置 `password` `token` and `secret` 信息\n","readmeFilename":"README.md","_rev":"1-31cbfbf3ce4c0c6489c74af1fed08505"}