@futagoza/eslint-config-javascript
v16.1.0
Published
Futago-za Ryuu's ESLint configurations for JavaScript
Downloads
1,036
Maintainers
Readme
This package contains configuration files for ESLint v7.15+
These are configuration files for ESLint that are used to lint my JavaScript projects.
NOTE: Since the base configuration includes @futagoza/eslint-config-core, all the configurations also include it; this ensures you don't have to include @futagoza/eslint-config-core as a dependency when using this package.
installation
$ npm i --save-dev @futagoza/eslint-config-javascript
usage
Put the following into your configuration (.eslintrc.*
file or the "eslintConfig" field in package.json
):
{
"extends": "@futagoza/javascript"
}
configurations
A list of usable configurations as well the configurations they use:
@futagoza/javascript
(default, extends: esnext)@futagoza/javascript/es5
(extends @futagoza/core and @futagoza/globals/es5)@futagoza/javascript/es2015
(extends: es5, @futagoza/globals/es2015 and @futagoza/core/ecmascript-6)@futagoza/javascript/es2016
(extends: es2015)@futagoza/javascript/es2017
(extends: es2016 and @futagoza/globals/es2017)@futagoza/javascript/es2018
(extends: es2017)@futagoza/javascript/es2019
(extends: es2018)@futagoza/javascript/es2020
(extends: es2019 and @futagoza/globals/es2020)@futagoza/javascript/es2021
(extends: es2020 and @futagoza/globals/es2021)@futagoza/javascript/esnext
(extends: es2021)@futagoza/javascript/modules
license
Copyright © 2017+ Futago-za Ryuu Released under the MIT License, http://opensource.org/licenses/MIT