@futagoza/eslint-config-dev
v16.1.0
Published
Futago-za Ryuu's ESLint configurations for Node.js based development on esnext source files.
Downloads
2,185
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 based development projects (source files, tests, etc).
NOTE: All configurations extend @futagoza/eslint-config-javascript (which itself extends @futagoza/eslint-config-core) as well as @futagoza/eslint-config-node, so you don't have to include any of them as a dependency when using this package.
installation
$ npm i --save-dev @futagoza/eslint-config-dev
usage
Put the following into your configuration (.eslintrc.*
file or the "eslintConfig" field in package.json
):
{
"extends": "@futagoza/dev"
}
configurations
A list of usable configurations as well the configurations they use:
@futagoza/dev
(default, extends dev/node and dev/test)@futagoza/dev/code
(extends @futagoza/javascript and @futagoza/javascript/modules)@futagoza/dev/node
(extends dev/code and @futagoza/node)@futagoza/dev/test
(extends @futagoza/globals/test)
@futagoza/dev/test
- Although included with the default
@futagoza/dev
config, on non-esnext setups it is preferred on it's own. .ts
test files will also be linted by this config if they are being checked by the ESLint CLI.
license
Copyright © 2017+ Futago-za Ryuu Released under the MIT License, http://opensource.org/licenses/MIT