@nice-move/eslint-config-base
v0.13.14
Published
A `eslint` config for best practice
Downloads
1,359
Maintainers
Readme
@nice-move/eslint-config-base
A eslint config for best practice.
Installation
npm install eslint @nice-move/eslint-config-base --save-devUsage
Add to eslint.config.mjs
// example: eslint.config.mjs
export { default } from '@nice-move/eslint-config-base';Then run
eslint --fix .Specification
| Environment | pattern |
| :---------- | :------------------------------------- |
| browser | .js, .html |
| node.js | .mjs, .mts, .cjs, .cts |
| es modules | .mjs, .mts, .js, .html |
| commonjs | .cjs, source code in webpack project |
Tips
Noiseless reporting
Rules can handle by prettier and garou is disabled by default.
