@betsys-eslint/eslint-config-angular
v3.0.0
Published
ESLint configuration used across the company for Angular projects
Downloads
18
Readme
Requirements
We recommend using Node.js v16 as we do not support lower version of Node.js. Angular version 12 and later are supported.
Quick Start
Installing automatically
To install the configuration with all the necessary configuration changes, use the following:
npx @betsys-eslint/install config angular
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
after installation, add the configuration to you ESLint config:
{
"overrides": [
{
files: ["*.ts"],
// Locate configuration for your TS files
"extends": [
// ...
"@betsys-eslint/angular"
]
}
]
}
About the configuration
This configuration is based on our @betsys-eslint/eslint-config-typescript
configuration.