Socket
Socket
Sign inDemoInstall

@tinkoff/eslint-config-angular

Package Overview
Dependencies
446
Maintainers
16
Versions
76
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @tinkoff/eslint-config-angular

Tinkoff ESLint configs for Angular apps


Version published
Weekly downloads
451
increased by72.14%
Maintainers
16
Created
Weekly downloads
 

Changelog

Source

1.50.2 (2022-12-08)

Note: Version bump only for package linters-monorepo

Readme

Source

@tinkoff/eslint-config-angular

ESlint plugin includes Tinkoff rules for Angular applications. Designed to use with @tinkoff/eslint-config.

Usage

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/html',
    '@tinkoff/eslint-config-angular/rxjs',
    '@tinkoff/eslint-config-angular/promise',
    '@tinkoff/eslint-config-angular/imports',
    '@tinkoff/eslint-config-angular/unicorn',
    '@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',
  ],
}
Warning
  • 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.

Keywords

FAQs

Last updated on 08 Dec 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc