@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.
- package/index.esm.js +78 -74
- 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.
|
|
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
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
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
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
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.
|
|
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.
|
|
13
|
-
"angular-eslint": ">=19.
|
|
14
|
-
"eslint": ">=9.
|
|
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.
|
|
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.
|
|
30
|
+
"typescript-eslint": ">=8.27.0"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|