eslint-config-ariyalabs
ESLint shareable config
Installation
$ npm install --save-dev eslint eslint-config-ariyalabs
Usage
Once the eslint-config-ariyalabs
package is installed, you can use it by specifying ariyalabs
in the extends
section of your ESLint configuration.
"extends": "ariyalabs" "rules": // Additional, per-project rules...
ariyalabs
config with eslint:recommended
Using the There are several rules in the eslint:recommended
ruleset that you might want to override and enforce in your project.
To use AriyaLabs style in conjunction with ESLint's recommended rule set, extend them both, making sure to list ariyalabs
last:
"extends": "eslint:recommended" "ariyalabs" "rules": // Additional, per-project rules...
To see how the ariyalabs
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 ariyalabs
config.
License
Licensed under the MIT License.
Copyright (c) 2017 AriyaLabs, LLC.