4.0.0 • Published 8 years ago

eslint-config-connections v4.0.0

Weekly downloads
8
License
-
Repository
github
Last release
8 years ago

eslint-config-connections

Build Status

Shared configurations for linting with ESLint used by NCR's Connections team. The current (4.x) release supports ESLint 1.x.

Whilst these rules mandate 2-space indentation, mandatory semi-colons and single quote strings they do not enforce any style beyond that, concentrating instead on rules that catch errors.

Install

$ npm install --save-dev eslint eslint

To use the AngularJS specific rules:

$ npm install --save-dev eslint-plugin-angular

Usage

To enable the default rules, simply extend them in your eslint rc, for example with YAML:

extends: connections

To use the angular-specific rules extend the angular rules within your eslintrc file:

extends: connections/angular