@eoet/eslint-config
v1.0.0
Published
eslint config
Downloads
2
Readme
@eoet/eslint-config
ESLint shareable config
Installation
yarn
yarn add --dev @eoet/eslint-config
npm
npm install --save-dev @eoet/eslint-config
Usage
Once the @eoet/eslint-config
package is installed, you can use it by specifying @eoet
in the extends
section of your ESLint configuration.
{
"extends": "@eoet",
"rules": {
// Additional, per-project rules...
}
}
Using the eoet
config with eslint:recommended
There are several rules in the eslint:recommended
ruleset
To use the Eoet style in conjunction with ESLint's recommended rule set, extend them both, making sure to list @eoet
last:
{
"extends": ["eslint:recommended", "@eoet"],
"rules": {
// Additional, per-project rules...
}
}
License
MIT © Hiep Nguyen