@futagoza/eslint-config-node
v16.1.0
Published
Futago-za Ryuu's ESLint configurations for Node.js
Downloads
2,145
Maintainers
Readme
This package contains configuration files for ESLint v7.15+
These are configuration files for ESLint that are used to lint my Node.js projects.
NOTE: Apart from the default configuration, all configurations extend @futagoza/eslint-config-javascript (which itself extends @futagoza/eslint-config-core), so you don't have to include either as a dependency when using this package.
installation
$ npm i --save-dev @futagoza/eslint-config-node
usage
Put the following into your configuration (.eslintrc.*
file or the "eslintConfig" field in package.json
):
{
"extends": "@futagoza/node"
}
configurations
A list of usable configurations as well the configurations they use:
@futagoza/node
(default and @futagoza/globals/node)@futagoza/node/4
(extends @futagoza/javascript/es2015 and default)@futagoza/node/6
(extends: @futagoza/javascript/es2015 and default)@futagoza/node/8
(extends: @futagoza/javascript/es2017 and default)@futagoza/node/10
(extends: @futagoza/javascript/es2018 and default)@futagoza/node/12
(extends: @futagoza/javascript/es2019 and default)@futagoza/node/14
(extends: @futagoza/javascript/es2020 and default)
license
Copyright © 2017+ Futago-za Ryuu Released under the MIT License, http://opensource.org/licenses/MIT