Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 777 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 777 Bytes

Milad's Eslint Config Rules

My Preferred ESLint Rules.

Installation

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

Usage

Once the eslint-config-milad package is installed, you can use it by specifying milad in the extends section of your ESLint configuration.

{
  "extends": "milad",
  "rules": {}
}

Using the milad config with eslint:recommended

{
  "extends": ["eslint:recommended", "milad"],
  "rules": {}
}

Inspiration

How I put my rules in a repository that can be used by all my projects, is inspired by how Google did it.