eslint-config-elao

0.1.0 • Public • Published

eslint-config-elao

Elao ESLint configuration

A configurable ESLint configuration used in Elao projects.

Installation

The config require the eslint package.

$ npm install --save-dev eslint eslint-config-elao

Usage

Create a .eslintrc file with this following configuration:

{
  "extends": "eslint-config-elao"
}

Then run the following command:

$ eslint "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:

{
  "extends": "eslint-config-elao",
  "rules": {
    "indentation": 4,
    "number-leading-zero": null
  }
}

Changelog

License

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    1

Package Sidebar

Install

npm i eslint-config-elao

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • nervo