New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

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

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

ESLint configuration used across the company for templates in Angular projects

3.0.0
latest
Source
npm
Version published
Weekly downloads
37
1750%
Maintainers
3
Weekly downloads
 
Created
Source

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.
:warning: 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.

Keywords

eslint

FAQs

Package last updated on 05 Jan 2024

Did you know?

Socket

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