@fine-js/eslint-config
v2.0.1
Published
ESLint config that's just fine.
Downloads
39
Readme
ESLint config that's just fine
This package provides rules-only defaults for your ESLint config.
There are no plugins (like eslint-plugin-react
)
or global-level options. Only defaults rules shipped by ESLint are configured.
This is also not a top-level guide, but we can recommend something like the following config
for your Node.js project (goes to project root's .eslintrc.yaml
):
root: true
extends:
- '@fine-js/eslint-config'
parserOptions:
ecmaVersion: 2020
sourceType: script
ecmaFeatures:
globalReturn: true
impliedStrict: false
jsx: false
env:
es2020: true
node: true
overrides:
- files: ["*.test.js"]
env:
mocha: true