eslint-config-redteal

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i eslint-config-redteal

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • jdcrensh