@angular-ru/eslint-plugin-enterprise
v14.0.2
Published
Angular-RU package
Downloads
51
Readme
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.
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"