Skip to content

Releases: angular-eslint/angular-eslint

v14.1.1

18 Sep 11:33
Compare
Choose a tag to compare

14.1.1 (2022-09-18)

Bug Fixes

  • eslint-plugin-template: [click-events-have-key-events]: handle additional outputs (#1101) (c608cdb)
  • eslint-plugin: [sort-ngmodule-metadata-arrays]: add intl support (#1099) (30d133b)

v14.1.0

18 Sep 07:47
Compare
Choose a tag to compare

14.1.0 (2022-09-18)

Features

v14.0.4

08 Sep 13:33
Compare
Choose a tag to compare

14.0.4 (2022-09-08)

Bug Fixes

  • schematics: prefer sourceRoot if available for root project (#1114) (36c62c3)
  • support TS 4.8 with Angular 14.2, update dependencies (#1123) (a780b59)

v14.0.3

23 Aug 08:36
Compare
Choose a tag to compare

14.0.3 (2022-08-23)

Bug Fixes

  • builder: ensure package works with Angular 14.1.3 (#1112) (b00ef2e)

v14.0.2

09 Jul 09:59
Compare
Choose a tag to compare

14.0.2 (2022-07-09)

Bug Fixes

v14.0.1

08 Jul 15:43
Compare
Choose a tag to compare

14.0.1 (2022-07-08)

Bug Fixes

v14.0.0

23 Jun 18:21
Compare
Choose a tag to compare

14.0.0 (2022-06-23)

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

BREAKING CHANGES

This is a major version bump and comes with some breaking changes, one of which might possibly impact your ESLint configuration if you are targeting inline HTML templates with a very specific glob pattern because the virtual filename has changed (read on to learn more).

  • update Angular to v14

    • All packages now require the use of Angular CLI >= 14.0.0 < 15.0.0
  • dropped support for Node 12 (in alignment with Angular's own version policy)

  • extracted inline HTML templates now contain the original Component filename in their processed virtual filename

    • When ESLint runs on your Component files, if you are using the recommended configuration, it will invoke a processor we have set up to extract the inline HTML templates from your Component declarations. Behind the scenes we give these extracted templates virtual filenames ending in .html so that rules targeting HTML files can also target your inline templates.
    • Before: In v13 the filename looked like this: inline-template-${++i}.component.html, where i was an incrementing integer (in case for example you had multiple Component declarations in the same .ts file.
    • Now: In v14 the filename now looks like this inline-template-${baseFilename}-${++i}.component.html, where i has the same incrementing integer behavior as before, but we now include the base filename within the virtual filename.
      • E.g. if you have a test file in projects/foo/src/app/app.spec.ts which declares a Component with an inline template, the virtual filename generated behind the scene for that template will be inline-template-app.spec.ts-1.component.html.
      • This new behavior allows you to use ESLint overrides to apply different behavior to Component inline templates in different files.

Features

  • update eslint to ^8.18.0 (automatically migrated via ng update)
  • update typescript-eslint to ^5.29.0 (automatically migrated via ng update)
  • update deprecated cli.defaultCollection usage in angular.json to use cli.schematicCollections instead (automatically migrated via ng update)

v13.5.0

12 Jun 11:01
Compare
Choose a tag to compare

13.5.0 (2022-06-12)

Features

  • eslint-plugin-template: [button-has-type] add rule (#928) (f19bb30)

v13.4.0

11 Jun 13:38
Compare
Choose a tag to compare

13.4.0 (2022-06-11)

Features

  • update typescript-eslint packages to v5.27.1 (#1022) (99e8d4a)

v13.3.0

10 Jun 09:52
Compare
Choose a tag to compare

13.3.0 (2022-06-10)

Bug Fixes

  • eslint-plugin-template: [eqeqeq] update suggest message (#1000) (821cb8e)
  • eslint-plugin: [sort-ngmodule-metadata-arrays] do not sort deps property (#1001) (e6d12f2)

Features

  • eslint-plugin-template: [i18n] add requireDescription option (#988) (8f55ba8)
  • update dependency eslint to v8.17.0 (#979) (7cabac0)