1.1.0 • Published 5 years ago

eslint-config-daniels v1.1.0

Weekly downloads
16
License
MIT
Repository
github
Last release
5 years ago

Build Status GitHub issues GitHub stars GitHub license

eslint-config-daniels

ESLint shareable config for everyone

Installation

$ npm install --save-dev eslint eslint-config-daniels

Usage

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 ©