0.1.1 • Published 10 years ago

eslint-config-ml v0.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

eslint-config-ml Build Status Coverage Status npm version

A complete ESLint configuration.

Installation

First install the package using npm:

npm install eslint-config-ml

Then create an .eslintrc.json file:

{
  "extends": [
    "ml"
  ]
}

When not using ES6, extend only the core rules:

{
  "extends": [
    "ml/rules/core"
  ]
}

Overriding rules

If you prefer to use semicolons, then add the semi rule like this:

{
  "extends": [
    "ml"
  ],
  "rules": {
    "semi": [2, "always"]
  }
}

Similarly, other rules can be overridden. Check the list of available ESLint rules.

0.1.1

10 years ago

0.1.0

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago