@angular-ru/eslint-plugin-enterprise
TypeScript icon, indicating that this package has built-in type declarations

14.0.2 • Public • Published

Angular-RU eslint-plugin

An ESLint-specific plugin that contains rules which are specific to Angular projects. It can be combined with any other ESLint plugins in the normal way.

image image

Quick start

$ npm install @angular-ru/eslint-plugin-enterprise -D

Add to your .eslintrc.json:

{
    "plugins": ["@angular-ru/eslint-plugin-enterprise"],
    "rules": {
        "@angular-ru/enterprise/no-suffix-file": [
            "error",
            {
                "fileEndsWithList": [
                    ".model.ts",
                    ".models.ts",
                    ".enum.ts",
                    ".enums.ts",
                    ".type.ts",
                    ".types.ts",
                    ".interface.ts",
                    ".interfaces.ts"
                ]
            }
        ]
    }
}

Check out eslint:

$ eslint "**/*.ts"

Readme

Keywords

none

Package Sidebar

Install

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

Weekly Downloads

0

Version

14.0.2

License

MIT

Unpacked Size

22.5 kB

Total Files

11

Last publish

Collaborators

  • splincode
  • angular-ru