eslint-config-connections

4.0.0 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i eslint-config-connections

Weekly Downloads

0

Version

4.0.0

License

none

Last publish

Collaborators

  • keirlawson