Milad / eslint-config-milad

My Preferred ESLint Rules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

My Preferred ESLint Rules

License:MIT License


Languages

Language:JavaScript 100.0%