bbc/kandl-eslint-config

Name: kandl-eslint-config

Owner: BBC

Description: K&L Eslint Config based on our style guide @ https://github.com/bbc/kandl-style-guide

Created: 2016-07-07 10:00:53.0

Updated: 2016-07-08 09:45:19.0

Pushed: 2016-09-08 09:31:52.0

Homepage:

Size: 4

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

kandl-eslint-config

Extensible shared ESLint v2.* config based on K&L's Style Guide.

Usage

In your repo:

  1. npm install --save-dev git+ssh://git@github.com:bbc/kandl-eslint-config.git eslint@^2.*
  2. Add "extends": "kandl" to your .eslintrc, e.g. for a new .eslintrc:
    
    ends": "kandl"
    
    
Overriding a rule

Rules can easily be overriden, e.g.


"extends": "kandl",
"rules": {
    "max-len": [2, 82, 4] // max length: 82 chars
}

License

This K&L ESLint Config is licensed under the MIT License and is copyrighted by the BBC except where stated. Please see LICENSE.md for the full license.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.