@o3r/eslint-config 13.0.0-next.24 → 13.0.0-next.26
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o3r/eslint-config",
|
|
3
|
-
"version": "13.0.0-next.
|
|
3
|
+
"version": "13.0.0-next.26",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"build:builders": "tsc -b tsconfig.builders.json --pretty && yarn generate-cjs-manifest"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@o3r/schematics": "^13.0.0-next.
|
|
40
|
+
"@o3r/schematics": "^13.0.0-next.26"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@angular-devkit/core": "^20.0.0",
|
|
@@ -46,25 +46,25 @@
|
|
|
46
46
|
"@angular/compiler": "^20.0.0",
|
|
47
47
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
|
48
48
|
"@eslint/js": "^8.57.0 || ^9.22.0",
|
|
49
|
-
"@o3r/eslint-plugin": "^13.0.0-next.
|
|
50
|
-
"@o3r/schematics": "^13.0.0-next.
|
|
49
|
+
"@o3r/eslint-plugin": "^13.0.0-next.26",
|
|
50
|
+
"@o3r/schematics": "^13.0.0-next.26",
|
|
51
51
|
"@schematics/angular": "^20.0.0",
|
|
52
|
-
"@stylistic/eslint-plugin": "~
|
|
52
|
+
"@stylistic/eslint-plugin": "~5.2.0",
|
|
53
53
|
"@typescript-eslint/parser": "^8.15.0",
|
|
54
54
|
"@typescript-eslint/types": "^8.15.0",
|
|
55
55
|
"@typescript-eslint/utils": "^8.15.0",
|
|
56
56
|
"angular-eslint": "^20.0.0",
|
|
57
57
|
"eslint": "^8.57.0 || ^9.22.0",
|
|
58
58
|
"eslint-import-resolver-node": "^0.3.4",
|
|
59
|
-
"eslint-import-resolver-typescript": "^
|
|
59
|
+
"eslint-import-resolver-typescript": "^4.0.0",
|
|
60
60
|
"eslint-plugin-import": "^2.31.0",
|
|
61
61
|
"eslint-plugin-import-newlines": "^1.4.0",
|
|
62
|
-
"eslint-plugin-jest": "^
|
|
63
|
-
"eslint-plugin-jsdoc": "^
|
|
62
|
+
"eslint-plugin-jest": "^29.0.0",
|
|
63
|
+
"eslint-plugin-jsdoc": "^52.0.0",
|
|
64
64
|
"eslint-plugin-prefer-arrow": "^1.2.2",
|
|
65
|
-
"eslint-plugin-unicorn": "^
|
|
65
|
+
"eslint-plugin-unicorn": "^60.0.0",
|
|
66
66
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
67
|
-
"globals": "^
|
|
67
|
+
"globals": "^16.0.0",
|
|
68
68
|
"globby": "^11.1.0",
|
|
69
69
|
"jest": "^29.7.0",
|
|
70
70
|
"jsonc-eslint-parser": "^2.4.0",
|
|
@@ -81,27 +81,27 @@
|
|
|
81
81
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
|
82
82
|
"@eslint/js": "~9.31.0",
|
|
83
83
|
"@nx/eslint-plugin": "~21.3.11",
|
|
84
|
-
"@o3r/build-helpers": "^13.0.0-next.
|
|
85
|
-
"@o3r/eslint-plugin": "^13.0.0-next.
|
|
86
|
-
"@o3r/test-helpers": "^13.0.0-next.
|
|
84
|
+
"@o3r/build-helpers": "^13.0.0-next.26",
|
|
85
|
+
"@o3r/eslint-plugin": "^13.0.0-next.26",
|
|
86
|
+
"@o3r/test-helpers": "^13.0.0-next.26",
|
|
87
87
|
"@schematics/angular": "~20.0.0",
|
|
88
|
-
"@stylistic/eslint-plugin": "~
|
|
88
|
+
"@stylistic/eslint-plugin": "~5.2.0",
|
|
89
89
|
"@types/jest": "~29.5.2",
|
|
90
|
-
"@types/node": "^
|
|
90
|
+
"@types/node": "^22.0.0",
|
|
91
91
|
"@typescript-eslint/parser": "~8.37.0",
|
|
92
92
|
"angular-eslint": "~20.1.0",
|
|
93
93
|
"cpy-cli": "^5.0.0",
|
|
94
94
|
"eslint": "~9.31.0",
|
|
95
95
|
"eslint-import-resolver-node": "~0.3.9",
|
|
96
|
-
"eslint-import-resolver-typescript": "~
|
|
96
|
+
"eslint-import-resolver-typescript": "~4.4.0",
|
|
97
97
|
"eslint-plugin-import": "~2.32.0",
|
|
98
98
|
"eslint-plugin-import-newlines": "~1.4.0",
|
|
99
|
-
"eslint-plugin-jest": "~
|
|
100
|
-
"eslint-plugin-jsdoc": "~
|
|
99
|
+
"eslint-plugin-jest": "~29.0.0",
|
|
100
|
+
"eslint-plugin-jsdoc": "~52.0.0",
|
|
101
101
|
"eslint-plugin-prefer-arrow": "~1.2.3",
|
|
102
|
-
"eslint-plugin-unicorn": "~
|
|
102
|
+
"eslint-plugin-unicorn": "~60.0.0",
|
|
103
103
|
"eslint-plugin-unused-imports": "~4.1.4",
|
|
104
|
-
"globals": "^
|
|
104
|
+
"globals": "^16.0.0",
|
|
105
105
|
"jest": "~29.7.0",
|
|
106
106
|
"jest-junit": "~16.0.0",
|
|
107
107
|
"jsonc-eslint-parser": "~2.4.0",
|
|
@@ -12,7 +12,7 @@ const config = [
|
|
|
12
12
|
'**/*.{c,m,}{t,j}s'
|
|
13
13
|
],
|
|
14
14
|
rules: {
|
|
15
|
-
...convertWarningsToErrors(stylistic.configs
|
|
15
|
+
...convertWarningsToErrors(stylistic.configs.recommended),
|
|
16
16
|
'@stylistic/arrow-parens': ['error', 'always'],
|
|
17
17
|
'@stylistic/brace-style': ['error', '1tbs'],
|
|
18
18
|
'@stylistic/comma-dangle': ['error', {
|
|
@@ -69,7 +69,7 @@ const config = [
|
|
|
69
69
|
'single',
|
|
70
70
|
{
|
|
71
71
|
avoidEscape: true,
|
|
72
|
-
allowTemplateLiterals:
|
|
72
|
+
allowTemplateLiterals: 'always'
|
|
73
73
|
}
|
|
74
74
|
],
|
|
75
75
|
'@stylistic/quote-props': [
|
|
@@ -12,7 +12,7 @@ const config = [
|
|
|
12
12
|
'**/*.{c,m,}{t,j}s'
|
|
13
13
|
],
|
|
14
14
|
rules: {
|
|
15
|
-
...convertWarningsToErrors(unicorn.configs
|
|
15
|
+
...convertWarningsToErrors(unicorn.default.configs.recommended),
|
|
16
16
|
'unicorn/catch-error-name': 'off',
|
|
17
17
|
'unicorn/consistent-function-scoping': 'off',
|
|
18
18
|
'unicorn/filename-case': [
|
|
@@ -27,6 +27,7 @@ const config = [
|
|
|
27
27
|
'unicorn/import-style': 'off',
|
|
28
28
|
'unicorn/no-array-for-each': 'off',
|
|
29
29
|
'unicorn/no-array-reduce': 'off',
|
|
30
|
+
'unicorn/no-array-reverse': 'off',
|
|
30
31
|
'unicorn/no-await-expression-member': 'off',
|
|
31
32
|
'unicorn/no-null': 'off',
|
|
32
33
|
'unicorn/no-typeof-undefined': 'off',
|
package/src/rules/typescript.cjs
CHANGED
|
@@ -79,13 +79,13 @@ const configArray = [
|
|
|
79
79
|
files: [
|
|
80
80
|
'**/*.{c,m,}{t,j}s'
|
|
81
81
|
],
|
|
82
|
-
...stylistic.configs
|
|
82
|
+
...stylistic.configs.recommended
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
files: [
|
|
86
86
|
'**/*.{c,m,}{t,j}s'
|
|
87
87
|
],
|
|
88
|
-
...unicorn.configs
|
|
88
|
+
...unicorn.default.configs.recommended
|
|
89
89
|
},
|
|
90
90
|
...(getJestConfig('recommended')),
|
|
91
91
|
{
|