1.1.0 • Published 7 years ago
eslint-config-daniels v1.1.0
eslint-config-daniels
ESLint shareable config for everyone
Installation
$ npm install --save-dev eslint eslint-config-danielsUsage
Once the eslint-config-daniels package is installed, you can use it by specifying daniels or ./node_moduls/eslint-config-daniels in the extends section of your ESLint configuration.
{
"extends": ["daniels"],
"rules": {}
}Using the daniels config with eslint:recommended
There are several rules in the eslint:recommended ruleset that Google style is not opinionated about that you might want to enforce in your project.
To use daniels style in conjunction with ESLint's recommended rule set, extend them both, making sure to list daniels last:
{
"extends": ["eslint:recommended", "daniels"],
"rules": {}
}License
MIT ©