1.0.0 • Published 5 years ago
@eoet/eslint-config v1.0.0
@eoet/eslint-config
ESLint shareable config
Installation
yarn
yarn add --dev @eoet/eslint-confignpm
npm install --save-dev @eoet/eslint-configUsage
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
1.0.0
5 years ago