@tinkoff/eslint-config-angular
Advanced tools
Weekly downloads
Changelog
Readme
ESlint plugin includes Tinkoff rules for Angular applications. Designed to use with @tinkoff/eslint-config
.
Install from npm
npm i --save-dev @tinkoff/eslint-config @tinkoff/eslint-config-angular
Then, need to include recommendation
configurations sets to .eslintrc
. We need to choose base configuration, and any
necessary additional configs:
{
extends: ['@tinkoff/eslint-config/app', '@tinkoff/eslint-config-angular'],
}
You can also include optional
configurations, however, you are responsible for implementing these rules in your project:
{
extends: [
// recommended
'@tinkoff/eslint-config/app',
'@tinkoff/eslint-config-angular',
// optional
'@tinkoff/eslint-config-angular/rxjs',
'@tinkoff/eslint-config-angular/promise',
'@tinkoff/eslint-config-angular/imports',
'@tinkoff/eslint-config-angular/unicorn',
'@tinkoff/eslint-config-angular/html-eslint',
'@tinkoff/eslint-config-angular/file-progress',
'@tinkoff/eslint-config-angular/line-statements',
'@tinkoff/eslint-config-angular/member-ordering',
'@tinkoff/eslint-config-angular/decorator-position',
'@tinkoff/eslint-config-angular/function-return-type',
// experimental strict rules
'@tinkoff/eslint-config-angular/experimental',
],
}
@tinkoff/eslint-config-angular/html
instead of @tinkoff/eslint-config-angular/html-eslint
. There are some problems with @tinkoff/eslint-config-angular/html
configuration, because under the hood uses
eslint-plugin-html
plugin. When eslint-plugin-html
is extended, rules from other plugins don't work. See opened
issue.FAQs
Tinkoff ESLint configs for Angular apps
The npm package @tinkoff/eslint-config-angular receives a total of 511 weekly downloads. As such, @tinkoff/eslint-config-angular popularity was classified as not popular.
We found that @tinkoff/eslint-config-angular demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 17 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.