Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Latest commit

 

History

History
37 lines (26 loc) · 734 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 734 Bytes

eslint-config-mm

Eslint rules for Matchminds projects

Deprecated

This repository is deprecated and will be archived.

Usage

  1. Install this module as a devDependency:

    npm install --save-dev eslint-config-mm
  2. Add a .eslintrc file to your project root similar to this:

    {
      "root": true,
      "extends": ["eslint-config-mm"]
    }
  3. Optionally add one-off rule deviations to your local .eslintrc file.

Flavours

Linting rules are available in ES5 and ES6 flavours. ES6 is the default.

Using a different flavour can be done by extending from a specific file in this module. For example:

{
  "root": true,
  "extends": ["eslint-config-mm/es5"]
}