Elao/eslint-config-elao

Name: eslint-config-elao

Owner: Elao

Description: null

Created: 2016-10-18 07:46:58.0

Updated: 2017-03-16 13:18:21.0

Pushed: 2017-03-16 13:18:20.0

Homepage: null

Size: 2

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

eslint-config-elao

Elao ESLint configuration

A configurable ESLint configuration used in Elao projects.

Installation

The config require the eslint package.

m install --save-dev eslint eslint-config-elao
Usage

Create a .eslintrc file with this following configuration:


xtends": "eslint-config-elao"

Then run the following command:

lint "path/to/**/*.js"
Extending the config

Add a "rules" key to your config and add your overrides rules there.

For example, to change the indentation from 2 spaces to 4 and turn off the number-leading-zero rule:


xtends": "eslint-config-elao",
ules": {
"indentation": 4,
"number-leading-zero": null


Changelog
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.