eslint-config-redteal
v1.0.0
Published
Redteal's ESLint 2.x config
Downloads
3
Maintainers
Readme
eslint-config-redteal
Redteal's ESLint 2.x config
Install
npm install --save-dev eslint eslint-config-redteal
Usage
We export two ESLint configs for your usage.
eslint-config-redteal
Our default export extends Airbnb's rules, including ECMAScript 2015+, with the tweaks below.
Add "extends": "redteal"
to your .eslintrc
| Rule | airbnb-base | redteal | |------------------------|-------------|---------| | global-require | error | off | | no-shadow | error | off | | no-underscore-dangle | error | off | | sort-imports | off | error |
See eslint-config-airbnb-base and Airbnb's styleguide for more information.
eslint-config-redteal/angular
Extends both the base config and eslint-config-angular to offer additional rules for AngularJS development, with the tweaks below.
Add "extends": "redteal/angular"
to your .eslintrc
| Rule | angular | redteal | |---------------------------|---------|---------| | angular/no-service-method | error | off |
See eslint-config-angular for more information.