Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@kettil/eslint-config
Advanced tools
The library is a collection of very strict ESLint rules.
npm install -D eslint @kettil/eslint-config
The following additional ESLint plugins are included by default:
Plugin | required |
---|---|
eslint-plugin-import | - |
eslint-plugin-unicorn | - |
eslint-plugin-node | - |
eslint-plugin-eslint-comments | - |
eslint-plugin-sonarjs | - |
eslint-plugin-regexp | - |
@typescript-eslint/parser | typescript |
@typescript-eslint/eslint-plugin | typescript |
eslint-plugin-react | react |
eslint-plugin-react-hooks | react |
eslint-plugin-jsx-a11y | react |
eslint-plugin-formatjs | react-intl |
eslint-plugin-jest | jest |
eslint-plugin-testing-library | @testing-library/react or @testing-library/react-hooks |
eslint-plugin-jest-dom | @testing-library/jest-dom |
If the required library is installed, the rules are activated automatically. Additionally, rules are adjusted if the libraries next.js, and redux are installed.
If you want to use the rule collection, create the file .eslintrc.json
with the following content:
{
"extends": "@kettil"
}
or alternative for the browser @kettil/eslint-config/browser
.
FAQs
The library is a collection of very strict ESLint rules.
The npm package @kettil/eslint-config receives a total of 14 weekly downloads. As such, @kettil/eslint-config popularity was classified as not popular.
We found that @kettil/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.