@taiga-ui/eslint-plugin-experience-next 0.265.0 → 0.266.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 +78 -74
  2. package/package.json +6 -6
package/index.esm.js CHANGED
@@ -28,7 +28,7 @@ function getDefaultExportFromCjs (x) {
28
28
  }
29
29
 
30
30
  var name$1 = "@eslint/js";
31
- var version$1 = "9.22.0";
31
+ var version$1 = "9.23.0";
32
32
  var require$$0 = {
33
33
  name: name$1,
34
34
  version: version$1};
@@ -38,8 +38,6 @@ var require$$0 = {
38
38
  * script. Do not edit manually.
39
39
  */
40
40
 
41
- /* eslint quote-props: off -- autogenerated so don't lint */
42
-
43
41
  /*
44
42
  * IMPORTANT!
45
43
  *
@@ -267,69 +265,69 @@ var eslintAll = Object.freeze({
267
265
  */
268
266
 
269
267
  var eslintRecommended = Object.freeze({
270
- rules: Object.freeze({
271
- "constructor-super": "error",
272
- "for-direction": "error",
273
- "getter-return": "error",
274
- "no-async-promise-executor": "error",
275
- "no-case-declarations": "error",
276
- "no-class-assign": "error",
277
- "no-compare-neg-zero": "error",
278
- "no-cond-assign": "error",
279
- "no-const-assign": "error",
280
- "no-constant-binary-expression": "error",
281
- "no-constant-condition": "error",
282
- "no-control-regex": "error",
283
- "no-debugger": "error",
284
- "no-delete-var": "error",
285
- "no-dupe-args": "error",
286
- "no-dupe-class-members": "error",
287
- "no-dupe-else-if": "error",
288
- "no-dupe-keys": "error",
289
- "no-duplicate-case": "error",
290
- "no-empty": "error",
291
- "no-empty-character-class": "error",
292
- "no-empty-pattern": "error",
293
- "no-empty-static-block": "error",
294
- "no-ex-assign": "error",
295
- "no-extra-boolean-cast": "error",
296
- "no-fallthrough": "error",
297
- "no-func-assign": "error",
298
- "no-global-assign": "error",
299
- "no-import-assign": "error",
300
- "no-invalid-regexp": "error",
301
- "no-irregular-whitespace": "error",
302
- "no-loss-of-precision": "error",
303
- "no-misleading-character-class": "error",
304
- "no-new-native-nonconstructor": "error",
305
- "no-nonoctal-decimal-escape": "error",
306
- "no-obj-calls": "error",
307
- "no-octal": "error",
308
- "no-prototype-builtins": "error",
309
- "no-redeclare": "error",
310
- "no-regex-spaces": "error",
311
- "no-self-assign": "error",
312
- "no-setter-return": "error",
313
- "no-shadow-restricted-names": "error",
314
- "no-sparse-arrays": "error",
315
- "no-this-before-super": "error",
316
- "no-undef": "error",
317
- "no-unexpected-multiline": "error",
318
- "no-unreachable": "error",
319
- "no-unsafe-finally": "error",
320
- "no-unsafe-negation": "error",
321
- "no-unsafe-optional-chaining": "error",
322
- "no-unused-labels": "error",
323
- "no-unused-private-class-members": "error",
324
- "no-unused-vars": "error",
325
- "no-useless-backreference": "error",
326
- "no-useless-catch": "error",
327
- "no-useless-escape": "error",
328
- "no-with": "error",
329
- "require-yield": "error",
330
- "use-isnan": "error",
331
- "valid-typeof": "error"
332
- })
268
+ rules: Object.freeze({
269
+ "constructor-super": "error",
270
+ "for-direction": "error",
271
+ "getter-return": "error",
272
+ "no-async-promise-executor": "error",
273
+ "no-case-declarations": "error",
274
+ "no-class-assign": "error",
275
+ "no-compare-neg-zero": "error",
276
+ "no-cond-assign": "error",
277
+ "no-const-assign": "error",
278
+ "no-constant-binary-expression": "error",
279
+ "no-constant-condition": "error",
280
+ "no-control-regex": "error",
281
+ "no-debugger": "error",
282
+ "no-delete-var": "error",
283
+ "no-dupe-args": "error",
284
+ "no-dupe-class-members": "error",
285
+ "no-dupe-else-if": "error",
286
+ "no-dupe-keys": "error",
287
+ "no-duplicate-case": "error",
288
+ "no-empty": "error",
289
+ "no-empty-character-class": "error",
290
+ "no-empty-pattern": "error",
291
+ "no-empty-static-block": "error",
292
+ "no-ex-assign": "error",
293
+ "no-extra-boolean-cast": "error",
294
+ "no-fallthrough": "error",
295
+ "no-func-assign": "error",
296
+ "no-global-assign": "error",
297
+ "no-import-assign": "error",
298
+ "no-invalid-regexp": "error",
299
+ "no-irregular-whitespace": "error",
300
+ "no-loss-of-precision": "error",
301
+ "no-misleading-character-class": "error",
302
+ "no-new-native-nonconstructor": "error",
303
+ "no-nonoctal-decimal-escape": "error",
304
+ "no-obj-calls": "error",
305
+ "no-octal": "error",
306
+ "no-prototype-builtins": "error",
307
+ "no-redeclare": "error",
308
+ "no-regex-spaces": "error",
309
+ "no-self-assign": "error",
310
+ "no-setter-return": "error",
311
+ "no-shadow-restricted-names": "error",
312
+ "no-sparse-arrays": "error",
313
+ "no-this-before-super": "error",
314
+ "no-undef": "error",
315
+ "no-unexpected-multiline": "error",
316
+ "no-unreachable": "error",
317
+ "no-unsafe-finally": "error",
318
+ "no-unsafe-negation": "error",
319
+ "no-unsafe-optional-chaining": "error",
320
+ "no-unused-labels": "error",
321
+ "no-unused-private-class-members": "error",
322
+ "no-unused-vars": "error",
323
+ "no-useless-backreference": "error",
324
+ "no-useless-catch": "error",
325
+ "no-useless-escape": "error",
326
+ "no-with": "error",
327
+ "require-yield": "error",
328
+ "use-isnan": "error",
329
+ "valid-typeof": "error",
330
+ }),
333
331
  });
334
332
 
335
333
  /**
@@ -344,14 +342,14 @@ const { name, version } = require$$0;
344
342
  //------------------------------------------------------------------------------
345
343
 
346
344
  var src = {
347
- meta: {
348
- name,
349
- version
350
- },
351
- configs: {
352
- all: eslintAll,
353
- recommended: eslintRecommended
354
- }
345
+ meta: {
346
+ name,
347
+ version,
348
+ },
349
+ configs: {
350
+ all: eslintAll,
351
+ recommended: eslintRecommended,
352
+ },
355
353
  };
356
354
 
357
355
  var eslint = /*@__PURE__*/getDefaultExportFromCjs(src);
@@ -954,6 +952,12 @@ var recommended = tseslint.config(progress.configs['recommended-ci'], require('e
954
952
  rules: {
955
953
  '@typescript-eslint/no-confusing-void-expression': 'off',
956
954
  '@typescript-eslint/no-meaningless-void-operator': 'off',
955
+ '@angular-eslint/template/button-has-type': ['error', {
956
+ ignoreWithDirectives: ['tuiAccordion', 'tuiOption', 'tuiTab']
957
+ }],
958
+ '@angular-eslint/template/elements-content': ['error', {
959
+ allowList: ['aria-label', 'innerHtml', 'textContent', 'innerHTML', 'innerText', 'outerHTML', 'title', 'tuiFile', 'tuiTag', 'tuiHint']
960
+ }],
957
961
  '@angular-eslint/template/interactive-supports-focus': 'off',
958
962
  '@angular-eslint/template/label-has-associated-control': 'off',
959
963
  '@angular-eslint/template/no-distracting-elements': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/eslint-plugin-experience-next",
3
- "version": "0.265.0",
3
+ "version": "0.266.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",
@@ -9,13 +9,13 @@
9
9
  "@smarttools/eslint-plugin-rxjs": ">=1.0.18",
10
10
  "@stylistic/eslint-plugin": ">=4.2.0",
11
11
  "@stylistic/eslint-plugin-ts": ">=4.2.0",
12
- "@typescript-eslint/eslint-plugin": ">=8.26.1",
13
- "angular-eslint": ">=19.2.1",
14
- "eslint": ">=9.22.0",
12
+ "@typescript-eslint/eslint-plugin": ">=8.27.0",
13
+ "angular-eslint": ">=19.3.0",
14
+ "eslint": ">=9.23.0",
15
15
  "eslint-config-prettier": ">=10.1.1",
16
16
  "eslint-plugin-de-morgan": ">=1.2.1",
17
17
  "eslint-plugin-decorator-position": ">=6.0.0",
18
- "eslint-plugin-file-progress": ">=3.0.1",
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
21
  "eslint-plugin-perfectionist": ">=4.10.1",
@@ -27,7 +27,7 @@
27
27
  "eslint-plugin-unicorn": ">=57.0.0",
28
28
  "eslint-plugin-unused-imports": ">=4.1.4",
29
29
  "globals": ">=16.0.0",
30
- "typescript-eslint": ">=8.26.1"
30
+ "typescript-eslint": ">=8.27.0"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"