@taiga-ui/eslint-plugin-experience-next 0.251.0 → 0.253.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/eslint.config.js +3 -4
- package/eslint.config.ts +3 -3
- package/package.json +10 -9
package/eslint.config.js
CHANGED
|
@@ -34,7 +34,7 @@ try {
|
|
|
34
34
|
angularVersion = parseInt(major, 10);
|
|
35
35
|
}
|
|
36
36
|
catch { }
|
|
37
|
-
export default tseslint.config(progress.configs['recommended-ci'], require('eslint-plugin-import').flatConfigs.recommended, require('eslint-plugin-import').flatConfigs.typescript, require('eslint-plugin-promise').configs['flat/recommended'], {
|
|
37
|
+
export default tseslint.config(progress.configs['recommended-ci'], require('eslint-plugin-de-morgan').configs.recommended, require('eslint-plugin-import').flatConfigs.recommended, require('eslint-plugin-import').flatConfigs.typescript, require('eslint-plugin-promise').configs['flat/recommended'], {
|
|
38
38
|
ignores: [
|
|
39
39
|
'*/icons/all.ts',
|
|
40
40
|
'**/tests-report/**',
|
|
@@ -224,7 +224,7 @@ export default tseslint.config(progress.configs['recommended-ci'], require('esli
|
|
|
224
224
|
},
|
|
225
225
|
},
|
|
226
226
|
],
|
|
227
|
-
'@typescript-eslint/max-params': ['error', { countVoidThis: true, max:
|
|
227
|
+
'@typescript-eslint/max-params': ['error', { countVoidThis: true, max: 5 }],
|
|
228
228
|
'@typescript-eslint/member-ordering': [
|
|
229
229
|
'error',
|
|
230
230
|
{
|
|
@@ -519,7 +519,6 @@ export default tseslint.config(progress.configs['recommended-ci'], require('esli
|
|
|
519
519
|
'import/newline-after-import': ['error', { count: 1 }],
|
|
520
520
|
'import/no-absolute-path': 'error',
|
|
521
521
|
'import/no-cycle': 'error',
|
|
522
|
-
'import/no-deprecated': 'error',
|
|
523
522
|
'import/no-duplicates': 'error',
|
|
524
523
|
'import/no-mutable-exports': 'error',
|
|
525
524
|
'import/no-self-import': 'error',
|
|
@@ -924,6 +923,7 @@ export default tseslint.config(progress.configs['recommended-ci'], require('esli
|
|
|
924
923
|
'func-names': 'off',
|
|
925
924
|
'global-require': 'off',
|
|
926
925
|
'grouped-accessor-pairs': 'off',
|
|
926
|
+
'import/export': 'off',
|
|
927
927
|
'import/exports-last': 'off',
|
|
928
928
|
'import/extensions': 'off',
|
|
929
929
|
'import/no-default-export': 'off',
|
|
@@ -935,7 +935,6 @@ export default tseslint.config(progress.configs['recommended-ci'], require('esli
|
|
|
935
935
|
'import/prefer-default-export': 'off',
|
|
936
936
|
'lines-between-class-members': 'off',
|
|
937
937
|
'max-classes-per-file': 'off',
|
|
938
|
-
'max-params': 'off',
|
|
939
938
|
'max-statements': 'off',
|
|
940
939
|
'no-await-in-loop': 'off',
|
|
941
940
|
'no-bitwise': 'off',
|
package/eslint.config.ts
CHANGED
|
@@ -43,6 +43,7 @@ try {
|
|
|
43
43
|
|
|
44
44
|
export default tseslint.config(
|
|
45
45
|
progress.configs['recommended-ci'],
|
|
46
|
+
require('eslint-plugin-de-morgan').configs.recommended,
|
|
46
47
|
require('eslint-plugin-import').flatConfigs.recommended,
|
|
47
48
|
require('eslint-plugin-import').flatConfigs.typescript,
|
|
48
49
|
require('eslint-plugin-promise').configs['flat/recommended'],
|
|
@@ -241,7 +242,7 @@ export default tseslint.config(
|
|
|
241
242
|
},
|
|
242
243
|
},
|
|
243
244
|
],
|
|
244
|
-
'@typescript-eslint/max-params': ['error', {countVoidThis: true, max:
|
|
245
|
+
'@typescript-eslint/max-params': ['error', {countVoidThis: true, max: 5}],
|
|
245
246
|
'@typescript-eslint/member-ordering': [
|
|
246
247
|
'error',
|
|
247
248
|
{
|
|
@@ -538,7 +539,6 @@ export default tseslint.config(
|
|
|
538
539
|
'import/newline-after-import': ['error', {count: 1}],
|
|
539
540
|
'import/no-absolute-path': 'error',
|
|
540
541
|
'import/no-cycle': 'error',
|
|
541
|
-
'import/no-deprecated': 'error',
|
|
542
542
|
'import/no-duplicates': 'error',
|
|
543
543
|
'import/no-mutable-exports': 'error',
|
|
544
544
|
'import/no-self-import': 'error',
|
|
@@ -966,6 +966,7 @@ export default tseslint.config(
|
|
|
966
966
|
'func-names': 'off',
|
|
967
967
|
'global-require': 'off',
|
|
968
968
|
'grouped-accessor-pairs': 'off',
|
|
969
|
+
'import/export': 'off',
|
|
969
970
|
'import/exports-last': 'off',
|
|
970
971
|
'import/extensions': 'off',
|
|
971
972
|
'import/no-default-export': 'off',
|
|
@@ -977,7 +978,6 @@ export default tseslint.config(
|
|
|
977
978
|
'import/prefer-default-export': 'off',
|
|
978
979
|
'lines-between-class-members': 'off',
|
|
979
980
|
'max-classes-per-file': 'off',
|
|
980
|
-
'max-params': 'off',
|
|
981
981
|
'max-statements': 'off',
|
|
982
982
|
'no-await-in-loop': 'off',
|
|
983
983
|
'no-bitwise': 'off',
|
package/package.json
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/eslint-plugin-experience-next",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.253.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": "eslint.config.ts",
|
|
7
7
|
"peerDependencies": {
|
|
8
8
|
"@eslint/compat": ">=1.2.6",
|
|
9
9
|
"@smarttools/eslint-plugin-rxjs": ">=1.0.18",
|
|
10
|
-
"@stylistic/eslint-plugin": ">=
|
|
11
|
-
"@stylistic/eslint-plugin-ts": ">=
|
|
12
|
-
"@typescript-eslint/eslint-plugin": ">=8.24.
|
|
10
|
+
"@stylistic/eslint-plugin": ">=4.0.1",
|
|
11
|
+
"@stylistic/eslint-plugin-ts": ">=4.0.1",
|
|
12
|
+
"@typescript-eslint/eslint-plugin": ">=8.24.1",
|
|
13
13
|
"angular-eslint": ">=19.1.0",
|
|
14
14
|
"eslint": ">=9.20.1",
|
|
15
15
|
"eslint-config-prettier": ">=10.0.1",
|
|
16
|
+
"eslint-plugin-de-morgan": ">=1.1.0",
|
|
16
17
|
"eslint-plugin-decorator-position": ">=6.0.0",
|
|
17
18
|
"eslint-plugin-file-progress": ">=3.0.1",
|
|
18
19
|
"eslint-plugin-import": ">=2.31.0",
|
|
19
20
|
"eslint-plugin-jest": ">=28.11.0",
|
|
20
|
-
"eslint-plugin-perfectionist": ">=4.
|
|
21
|
+
"eslint-plugin-perfectionist": ">=4.9.0",
|
|
21
22
|
"eslint-plugin-playwright": ">=2.2.0",
|
|
22
23
|
"eslint-plugin-prettier": ">=5.2.3",
|
|
23
24
|
"eslint-plugin-promise": ">=7.2.1",
|
|
24
25
|
"eslint-plugin-simple-import-sort": ">=12.1.1",
|
|
25
|
-
"eslint-plugin-sonarjs": ">=3.0.
|
|
26
|
-
"eslint-plugin-unicorn": ">=
|
|
26
|
+
"eslint-plugin-sonarjs": ">=3.0.2",
|
|
27
|
+
"eslint-plugin-unicorn": ">=57.0.0",
|
|
27
28
|
"eslint-plugin-unused-imports": ">=4.1.4",
|
|
28
|
-
"globals": ">=15.
|
|
29
|
-
"typescript-eslint": ">=8.24.
|
|
29
|
+
"globals": ">=15.15.0",
|
|
30
|
+
"typescript-eslint": ">=8.24.1"
|
|
30
31
|
},
|
|
31
32
|
"publishConfig": {
|
|
32
33
|
"access": "public"
|