3.5.0 • Published 11 months ago
eslint-config-nfour v3.5.0
eslint-config-nfour
Some opinionated style & type rules built on top of eslint-config-standard-typescript-prettier
See ./.eslintrc.js
Why
Pros:
- You do not need to install ANY eslint dependencies explicitly in your project
- Eslint dependencies work together out of the box
- Eslint config with simplified defaults
Cons:
- If this package becomes outdated you may need to manually manage dependencies again
Install
Install it.
pnpm add -D eslint-config-nfour
Wire it up.
echo "module.exports = require('eslint-config-nfour')" > .eslintrc.js
# OR with react rules...
echo "module.exports = require('eslint-config-nfour/.eslintrc.react')" > .eslintrc.js
Configure .prettierrc.js
with something like:
module.exports = {
...require('eslint-config-nfour/.prettierrc'),
semi: false,
}
Done.
How it works
Thanks to require('@rushstack/eslint-patch/modern-module-resolution');
, plugins can be included relative to the configs, not the consuming project, so you don't need to install any eslint plugins/config peer dependencies.
3.5.0
11 months ago
3.4.0
1 year ago
3.3.1
2 years ago
3.3.0
2 years ago
3.2.0
2 years ago
3.1.0
2 years ago
3.0.0
2 years ago
2.3.0
2 years ago
2.2.0
2 years ago
2.4.0
2 years ago
2.0.0-1
2 years ago
2.0.0-0
2 years ago
2.1.0
2 years ago
2.0.0
2 years ago
1.3.0
3 years ago
1.2.3-5
3 years ago
1.2.3-4
3 years ago
1.2.3-3
3 years ago
1.2.3-2
3 years ago
1.2.3-1
3 years ago
1.2.3-0
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.2.0
3 years ago
1.1.1-0
3 years ago