Releases: angular-eslint/angular-eslint
Releases · angular-eslint/angular-eslint
v16.0.3
v16.0.2
v16.0.1
v16.0.0
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
Features
- eslint-plugin-template: All accessibility rules are now grouped together and exposed via a new
@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) - builder: support
reportUnusedDisableDirectives
option - builder: respect using
eslint.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. - bump
eslint
and all@typescript-eslint
packages to the latest (handled for you automatically by ourng update
schematic)
BREAKING CHANGES
- As always, the major version primarily communicates the alignment with Angular's major version. Only Angular 16 is supported by angular-eslint 16.
- Your Node version must now be 16.13.0 or higher. Node 14 support has been dropped in alignment with Angular 16, as Node 14 is EOL.
- eslint-plugin: The legacy
base
,recommended--extra
,ng-cli-compat
andng-cli-compat--formatting
configs have been removed. See the updated guide on migrating from TSLint for more information: ./docs/MIGRATING_FROM_TSLINT.md - eslint-plugin-template: The legacy
base
config has been removed. See the updated guide on migrating from TSLint for more information: ./docs/MIGRATING_FROM_TSLINT.md - schematics: The legacy
convert-tslint-to-eslint
schematic has been removed. See the updated guide on migrating from TSLint for more information: ./docs/MIGRATING_FROM_TSLINT.md - eslint-plugin-template: The deprecated
accessibility-label-for
rule has been removed.label-has-associated-control
should be used instead. An automated migration was provided whenlabel-has-associated-control
was first added, so hopefully this should not impact too many folks. - eslint-plugin-template: Previously some, but not all, accessibility related rules had a prefix of
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.
v15.2.1
15.2.1 (2023-02-10)
Bug Fixes
- eslint-plugin-template: [i18n] handle ng-template properly (#1257) (7b0877d)
- update dependency @angular/compiler to v15.1.4 (#1282) (d1b3d59)
- update dependency eslint to v8.32.0 (#1276) (15d2e23)
- update dependency eslint to v8.33.0 (#1292) (bd82b42)
- update typescript-eslint packages to v5.48.2 (#1278) (69d56a7)
v15.2.0
15.2.0 (2023-01-14)
Bug Fixes
- eslint-plugin: [component-selector] enhance check for prefix and kebab-case (#1250) (16827e4)
- eslint-plugin: [no-inputs-metadata-property] do not report on directive composition API (#1248) (539cf9f)
- update dependency @angular/compiler to v15.0.2 (#1245) (061601f)
- update dependency @angular/compiler to v15.1.0 (#1252) (4295c59)
- update dependency eslint to v8.29.0 (#1246) (10c14d2)
- update dependency eslint to v8.31.0 (#1262) (db89c85)
- update dependency ignore to v5.2.1 (#1237) (609e06b)
- update dependency ignore to v5.2.4 (#1263) (a220e0c)
- update typescript-eslint packages to v5.45.1 (#1239) (abb7f79)
- update typescript-eslint packages to v5.48.1 (#1255) (11151d1)
- utils: use test case filename when specified (#1259) (37bfd14)
- utils: use tsconfigRootDir as root dir when specified (#1260) (19fe26c)
Features
v15.1.0
15.1.0 (2022-11-24)
Bug Fixes
- eslint-plugin-template: [accessibility-valid-aria] use Number() to parse numeric values (#1218) (6fe40d6)
- eslint-plugin-template: [i18n] allow more attributes by default (#1220) (4232b1c)
- eslint-plugin: [no-input-rename] do not report on directive composition API (#1231) (119fba7)
- update dependency @angular/compiler to v15.0.1 (#1223) (7b7bd76)
- update typescript-eslint packages to v5.44.0 (#1222) (5750e3a)
Features
v15.0.0
15.0.0 (2022-11-20)
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
Bug Fixes
- schematics: ensure scoped project names have correct eslint extends (7b3f736)
Features
- bump minimum supported eslint version to 7.20.0 (56ad69f), closes #662
- eslint-plugin: remove no-conflicting-lifecycle from recommended config (19dd177), closes #502
- fast linting by default, set eslint and typescript-eslint recommended (#1212) (1a53ef9), closes #1174
- schematics: ng update migration to preserve v14 parserOptions.project for existing workspaces (1d45914)
BREAKING CHANGES
- Your installed version of ESLint must be version 7.20.0 or later (naturally we recommend the latest v8 of ESLint if possible)
- eslint-plugin: no-conflicting-lifecycle is no longer included as part of the recommended config and if you wish to continue using it you will need to enable it yourself in your eslint config rules
- New projects will not include
parserOptions.project
configuration in.eslintrc.json
files by default, see the new guide here ./docs/RULES_REQUIRING_TYPE_INFORMATION.md