eslint-config-auz
v1.0.0
Published
ESLint shareable based on the Google style
Downloads
1
Maintainers
Readme
eslint-config-auz
ESLint shareable config for the Google JavaScript style guide on which this is based
Usage
Once the eslint-config-auz
package is installed, you can use it by specifying auz
in the extends
section of your ESLint configuration.
{
"extends": "auz",
"rules": {
// Additional, per-project rules...
}
}
Using the auz
config with eslint:recommended
There are several rules in the eslint:recommended
ruleset that this style is not opinionated about that you might want to enforce in your project.
To use this style in conjunction with ESLint's recommended rule set, extend them both, making sure to list auz
last:
{
"extends": ["eslint:recommended", "auz"],
"rules": {
// Additional, per-project rules...
}
}
To see how the auz
config compares with eslint:recommended
, refer to the source code of index.js
, which lists every ESLint rule along with whether (and how) it is enforced by the auz
config. For more on how the Google style differs from this fork, visit the eslint-config-google repository.
License
Apache-2