@taiga-ui/eslint-plugin-experience-next 0.274.0 → 0.276.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.esm.js +4 -3
  2. package/package.json +2 -2
package/index.esm.js CHANGED
@@ -810,6 +810,10 @@ var recommended = tseslint.config(progress.configs['recommended-ci'], require('e
810
810
  group: ['@taiga-ui/polymorpheus'],
811
811
  importNames: ['POLYMORPHEUS_CONTEXT'],
812
812
  message: 'Please use `injectContext()` function instead'
813
+ }, {
814
+ group: ['@angular/core'],
815
+ importNames: ['Attribute'],
816
+ message: 'Always prefer using HostAttributeToken over @Attribute. See: https://angular.dev/api/core/HostAttributeToken'
813
817
  }]
814
818
  }],
815
819
  'no-restricted-syntax': ['error', {
@@ -821,9 +825,6 @@ var recommended = tseslint.config(progress.configs['recommended-ci'], require('e
821
825
  }, {
822
826
  message: 'Always prefer using the host property over @HostListener. That decorator exists exclusively for backwards compatibility',
823
827
  selector: "Identifier[name='HostListener']"
824
- }, {
825
- message: 'Always prefer using HostAttributeToken over @Attribute. See: https://angular.dev/api/core/HostAttributeToken',
826
- selector: "Identifier[name='Attribute']"
827
828
  }, {
828
829
  message: 'Always prefer using the host property over @HostBinding. That decorator exists exclusively for backwards compatibility',
829
830
  selector: "Identifier[name='HostBinding']"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/eslint-plugin-experience-next",
3
- "version": "0.274.0",
3
+ "version": "0.276.0",
4
4
  "description": "An ESLint plugin to enforce a consistent code styles across taiga-ui projects",
5
5
  "license": "Apache-2.0",
6
6
  "main": "index.ts",
@@ -18,7 +18,7 @@
18
18
  "eslint-plugin-file-progress": ">=3.0.2",
19
19
  "eslint-plugin-import": ">=2.31.0",
20
20
  "eslint-plugin-jest": ">=28.11.0",
21
- "eslint-plugin-perfectionist": ">=4.12.0",
21
+ "eslint-plugin-perfectionist": ">=4.12.3",
22
22
  "eslint-plugin-playwright": ">=2.2.0",
23
23
  "eslint-plugin-prettier": ">=5.2.6",
24
24
  "eslint-plugin-promise": ">=7.2.1",