eslint-uniqbit

1.2.1 • Public • Published

Requirements

Typescript: >=3.2.1 <3.8.0

Intallation

npm install eslint-uniqbit --save-dev

Uninstall tslint extension and install the eslint extension

Install eslint:

npm install eslint --save-dev

Usage

create a .eslintrc.json File

Add this line on top of the file

{
    "extends": "eslint-uniqbit"
}

Add scripts in your package.json. e.g

"lint": "eslint src/** --ext .js,.ts  --no-error-on-unmatched-pattern",
"lintFix": "eslint src/** --ext .js,.ts --no-error-on-unmatched-pattern --fix",

Override Settings

In the following example you can see how rules can be overwritten.

"overrides": [
    {
        "files": [
            "*.ts"
        ],
        "rules": {
            "@typescript-eslint/no-explicit-any": "warn"
        }
    }
]

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-uniqbit

Weekly Downloads

1

Version

1.2.1

License

ISC

Unpacked Size

8.47 kB

Total Files

3

Last publish

Collaborators

  • uq-dev