eslint-config-ml

0.1.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-ml

Weekly Downloads

5

Version

0.1.1

License

MIT

Last publish

Collaborators

  • mariuslundgard