Skip to content

Angular-RU/angular-eslint-config

Folders and files

NameName
Last commit message
Last commit date
May 14, 2020
Mar 5, 2020
May 7, 2020
Mar 4, 2020
May 7, 2020
Mar 4, 2020
Mar 28, 2020
May 14, 2020
May 14, 2020
Mar 4, 2020
May 28, 2020
Mar 28, 2020
Mar 28, 2020
May 7, 2020
Apr 11, 2020
Mar 4, 2020
May 28, 2020

Repository files navigation

Shareable Configs for Angular projects

These rules are the most stringent, which allow you to control all types of data in your project, as well as more strictly determine the order of imports.

Quick start

$ npm install @angular-ru/eslint-config -D

Also you do not need to manually install ESLint, it will always be the newest.

Add to your .eslintrc.json:

{
    "extends": "@angular-ru/eslint-config"
}

Check out eslint:

$ eslint "**/*.ts"

Override rules

.eslintrc.json or .eslintrc.js:

{
    extends: '@angular-ru/eslint-config',
    rules: {
        // override extended rules
    }
}

Optional

import/no-deprecated by default "off"

{
    "extends": "@angular-ru/eslint-config",
    "rules": {
        "import/no-deprecated": "error"
    }
}