Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
eslint-find-new-rules
Advanced tools
Use this to save yourself some time when working on a webpack configuration.
Use this for your own ESLint shareable configuration to identify built-in ESLint rules that you're not explicitly configuring.
Simply install locally as a development dependency to your project's package:
npm install --save-dev eslint-find-new-rules
The intended usage is as an npm script:
{
...
"scripts": {
"find-new-rules": "eslint-find-new-rules eslint-config-yourConfigName"
}
...
}
Then run it with: $ npm run find-new-rules -s
(the -s
is to silence npm output).
This is really handy in an actual config module (like mine) where you could also do:
eslint-find-new-rules ./index.js
This is resolved relative to the process.cwd()
which, in the context of npm scripts is always the location of your package.json
.
You may specify any config format supported by ESLint.
You can also provide an absolute path:
eslint-find-new-rules ~/Developer/eslint-config-kentcdodds/index.js
Please note that any tested ESLint config file must reside below your project's root.
main
It will also default to the main
in your package.json
, so you can omit the argument altogether:
eslint-find-new-rules
Thanks goes to these wonderful people (emoji key):
Kent C. Dodds 💻 📖 ⚠️ | Michał Gołębiowski 💻 |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!
Special thanks to @mgol who created the original script.
MIT
FAQs
Find built-in ESLint rules you don't have in your custom config.
The npm package eslint-find-new-rules receives a total of 14 weekly downloads. As such, eslint-find-new-rules popularity was classified as not popular.
We found that eslint-find-new-rules demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.