@wildpeaks/eslint-config-commonjs
v15.7.0
Published
ESLint config for ES2018 Javascript projects using CommonJS modules
Downloads
176
Maintainers
Readme
ESLint Config: CommonJS
Settings for ES2018 Javascript projects using CommonJS modules.
This is best suited for Node 14+ scripts.
Quickstart
Install the config:
npm install @wildpeaks/eslint-config-commonjs --save-dev
Reference it in your package.json
:
{
"eslintConfig": {
"extends": "@wildpeaks/eslint-config-commonjs"
}
}
or in .eslintrc.json
:
{
"extends": "@wildpeaks/eslint-config-commonjs"
}
Prettier
This configuration is compatible with @wildpeaks/prettier-config.