Monorepo for all the tooling related to using ESLint with Angular
MIT License
Bot releases are hidden (Show)
Published by JamesHenry about 1 year ago
Published by JamesHenry over 1 year ago
Published by JamesHenry over 1 year ago
As always we recommend that you update your existing workspaces by using ng update
as we provide some helpful schematics to help migrate your workspaces to the latest and greatest. Running the following will update Angular, the Angular CLI and angular-eslint together:
ng update @angular/core @angular/cli @angular-eslint/schematics
@angular-eslint/template/accessibility
config. See the main README.md for an example of it in action. Our schematics will explicitly add it for you in new configs, but you are free to remove it if you wish (also note the BREAKING CHANGE regarding accessibility rule names below)reportUnusedDisableDirectives
optioneslint.config.js
(a.k.a Flat Config) if it is already present. Our schematics will only be updated to generate Flat Config once it is the default way of configuring ESLint later in the year.eslint
and all @typescript-eslint
packages to the latest (handled for you automatically by our ng update
schematic)base
, recommended--extra
, ng-cli-compat
and ng-cli-compat--formatting
configs have been removed. See the updated guide on migrating from TSLint for more information: ./docs/MIGRATING_FROM_TSLINT.md
base
config has been removed. See the updated guide on migrating from TSLint for more information: ./docs/MIGRATING_FROM_TSLINT.md
convert-tslint-to-eslint
schematic has been removed. See the updated guide on migrating from TSLint for more information: ./docs/MIGRATING_FROM_TSLINT.md
accessibility-label-for
rule has been removed. label-has-associated-control
should be used instead. An automated migration was provided when label-has-associated-control
was first added, so hopefully this should not impact too many folks.accessibility-
in their name. This is inconsistent with all other rules which do not attempt to communicate why they exist in their names. Therefore that naming prefix has been removed from all rules for consistency. The accessibility related rules can easily be identified from the new @angular-eslint/template/accessibility
shared config. See the main README.md for an example of it in action.Published by JamesHenry over 1 year ago
Published by JamesHenry almost 2 years ago
Published by JamesHenry almost 2 years ago
Published by JamesHenry almost 2 years ago
As always we recommend that you update your existing workspaces by using ng update
as we provide some helpful schematics to help migrate your workspaces to the latest and greatest. Running the following will update Angular, the Angular CLI and angular-eslint together:
ng update @angular/core @angular/cli @angular-eslint/schematics
parserOptions.project
configuration in .eslintrc.json
files by default, see the new guide here ./docs/RULES_REQUIRING_TYPE_INFORMATION.md
Published by JamesHenry almost 2 years ago
Published by JamesHenry almost 2 years ago