@angular-ru/eslint-config-enterprise

14.0.15 • Public • Published

Shareable Configs for Angular projects

image image

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-enterprise -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-enterprise"
}

Check out eslint:

$ eslint "**/*.ts"

Override rules

.eslintrc.json or .eslintrc.js:

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

Spellchecker

You can add your own words that will be skipped during the spellcheck.

Create .spellcheckerrc.json or .spellcheckerrc.js:

{
    "skipWords": ["these", "words", "will", "be", "skipped"]
}

Optional

import/no-deprecated by default "off"

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

Readme

Keywords

none

Package Sidebar

Install

npm i @angular-ru/eslint-config-enterprise

Weekly Downloads

0

Version

14.0.15

License

MIT

Unpacked Size

56.4 kB

Total Files

26

Last publish

Collaborators

  • splincode
  • angular-ru