@betsys-eslint/eslint-config-angular-template

3.0.0 • Public • Published

Shows an illustrated sun in light color mode and a moon with stars in dark color mode.

@betsys-eslint/eslint-config-angular-template

Set of ESLint rules we use for our Angular templates


Requirements

We recommend using Node.js v16 as we do not support lower version of Node.js. Angular version 12 and later are supported.

Installing automatically

To install the configuration with all the necessary configuration changes, use the following:

npx @betsys-eslint/install config angular-template

To read more about our installation script visit: @betsys-eslint/install.
⚠️ This package currently works only with .eslintrc.json file. We plan to support other configuration files (.js and .yml) in the future.

Installing manually

To install the configuration manually, use the following:

npm install --save-dev @betsys-eslint/eslint-config-angular-template

after installation, add the configuration to you ESLint config:

{
  "overrides": [
    {
      files: ["*.html"],
      // Locate configuration for your HTML files
      "extends": [
        // ...
        "@betsys-eslint/angular-template"
      ]
    }
  ]
}

About the configuration

If you'd like to use our full set of rules for Angular, check out the Angular configuration. Also, this configuration uses our Angular Template Spacing plugin to make sure your spacing is correct.

Package Sidebar

Install

npm i @betsys-eslint/eslint-config-angular-template

Weekly Downloads

2

Version

3.0.0

License

MIT

Unpacked Size

6.59 kB

Total Files

6

Last publish

Collaborators

  • jakubschneller
  • andrejsoucek
  • flyrell