Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
eslint-config-jane
Advanced tools
Use eslint-plugin-jane.
Shared eslint config for front-end projects at Jane.
npm i -D eslint-config-jane
You'll also need to install some plugins (peerDependencies
), at least until
there's some sort of resolution for this
issue:
npm i -D babel-eslint eslint-plugin-babel eslint-plugin-promise eslint-plugin-import eslint-plugin-unicorn
.
Optionally, you can also install any or all of:
eslint-plugin-jest
eslint-plugin-jsx-a11y
eslint-plugin-prettier
eslint-plugin-react
If they're installed, their rules will be used. If eslint-plugin-prettier
is
installed, our style rules are removed.
.eslintrc
{
"root": true,
"extends": "eslint-config-jane"
// any custom configs
}
.prettierrc.js
module.exports = require('eslint-config-jane/prettier')
Our rules are heavily based on Standard.
Most rules only warn. Exceptions (rules that error):
comma-dangle
: es5 compatibleeol-last
indent
: 2, SwitchCase
1new-cap
: newIsCap
true, capIsNew
falseno-duplicate-imports
no-eval
no-extend-native
no-global-assign
no-mixed-tabs-and-spaces
no-tabs
no-undef
no-undef-init
no-with
quotes
: single, avoidEscape trueunicode-bom
: neverunicorn/filename-case
: kebabFAQs
Deprecated: use eslint-plugin-jane.
The npm package eslint-config-jane receives a total of 12 weekly downloads. As such, eslint-config-jane popularity was classified as not popular.
We found that eslint-config-jane demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.