1.0.0 • Published 8 years ago

eslint-config-redteal v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

eslint-config-redteal

npm

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

Ruleairbnb-baseredteal
global-requireerroroff
no-shadowerroroff
no-underscore-dangleerroroff
sort-importsofferror

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

Ruleangularredteal
angular/no-service-methoderroroff

See eslint-config-angular for more information.