Haixing-Hu / eslint-config

A customized ESLint rules configuration for JavaScript coding style.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@haixing_hu/eslint-config

A customized ESLint rules configuration for JavaScript coding style.

Installation

First install the ESLint with the following command:

yarn add --dev eslint

Next, install @haixing_hu/eslint-config:

yarn add --dev @haixing_hu/eslint-config

Usage

Add @haixing_hu/eslint-config to the extends section of your .eslintrc configuration file:

{
    "extends": [
        "@haixing_hu/eslint-config"
    ]
}

A full example of .eslintrc configuration file is as follows:

{
    "root": true,
    "extends": [
        "@haixing_hu/eslint-config"
    ]
}

About

A customized ESLint rules configuration for JavaScript coding style.

License:Apache License 2.0


Languages

Language:JavaScript 100.0%