Skip to content

redteal/eslint-config-redteal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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.

About

Redteal's ESLint 2.x config

Resources

Stars

Watchers

Forks

Packages

No packages published