@o3r/eslint-config 14.0.0-next.12 → 14.0.0-next.14
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": "14.0.0-next.
|
|
3
|
+
"version": "14.0.0-next.14",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,23 +37,23 @@
|
|
|
37
37
|
"build:builders": "tsc -b tsconfig.builders.json --pretty && yarn generate-cjs-manifest"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@o3r/schematics": "~14.0.0-next.
|
|
40
|
+
"@o3r/schematics": "~14.0.0-next.14"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@angular-devkit/core": "^
|
|
44
|
-
"@angular-devkit/schematics": "^
|
|
45
|
-
"@angular-eslint/builder": "^
|
|
46
|
-
"@angular/compiler": "^
|
|
43
|
+
"@angular-devkit/core": "^21.0.0",
|
|
44
|
+
"@angular-devkit/schematics": "^21.0.0",
|
|
45
|
+
"@angular-eslint/builder": "^21.0.0",
|
|
46
|
+
"@angular/compiler": "^21.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": "~14.0.0-next.
|
|
50
|
-
"@o3r/schematics": "~14.0.0-next.
|
|
51
|
-
"@schematics/angular": "^
|
|
49
|
+
"@o3r/eslint-plugin": "~14.0.0-next.14",
|
|
50
|
+
"@o3r/schematics": "~14.0.0-next.14",
|
|
51
|
+
"@schematics/angular": "^21.0.0",
|
|
52
52
|
"@stylistic/eslint-plugin": "~5.6.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
|
-
"angular-eslint": "^
|
|
56
|
+
"angular-eslint": "^21.0.0",
|
|
57
57
|
"eslint": "^8.57.0 || ^9.22.0",
|
|
58
58
|
"eslint-import-resolver-node": "^0.3.4",
|
|
59
59
|
"eslint-import-resolver-typescript": "^4.0.0",
|
|
@@ -74,28 +74,28 @@
|
|
|
74
74
|
"yaml-eslint-parser": "^1.2.2"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@angular-devkit/core": "~
|
|
78
|
-
"@angular-devkit/schematics": "~
|
|
79
|
-
"@angular/compiler": "~
|
|
77
|
+
"@angular-devkit/core": "~21.0.2",
|
|
78
|
+
"@angular-devkit/schematics": "~21.0.2",
|
|
79
|
+
"@angular/compiler": "~21.0.3",
|
|
80
80
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
|
81
81
|
"@eslint/js": "~9.39.0",
|
|
82
|
-
"@nx/eslint-plugin": "~
|
|
83
|
-
"@o3r/build-helpers": "~14.0.0-next.
|
|
84
|
-
"@o3r/eslint-plugin": "~14.0.0-next.
|
|
85
|
-
"@o3r/test-helpers": "~14.0.0-next.
|
|
86
|
-
"@schematics/angular": "~
|
|
82
|
+
"@nx/eslint-plugin": "~22.3.3",
|
|
83
|
+
"@o3r/build-helpers": "~14.0.0-next.14",
|
|
84
|
+
"@o3r/eslint-plugin": "~14.0.0-next.14",
|
|
85
|
+
"@o3r/test-helpers": "~14.0.0-next.14",
|
|
86
|
+
"@schematics/angular": "~21.0.2",
|
|
87
87
|
"@stylistic/eslint-plugin": "~5.6.0",
|
|
88
88
|
"@types/jest": "~30.0.0",
|
|
89
89
|
"@types/node": "~24.10.0",
|
|
90
|
-
"@typescript-eslint/parser": "~8.
|
|
91
|
-
"angular-eslint": "~
|
|
90
|
+
"@typescript-eslint/parser": "~8.52.0",
|
|
91
|
+
"angular-eslint": "~21.0.1",
|
|
92
92
|
"cpy-cli": "^6.0.0",
|
|
93
93
|
"eslint": "~9.39.0",
|
|
94
94
|
"eslint-import-resolver-node": "~0.3.9",
|
|
95
95
|
"eslint-import-resolver-typescript": "~4.4.0",
|
|
96
96
|
"eslint-plugin-import": "~2.32.0",
|
|
97
97
|
"eslint-plugin-import-newlines": "~1.4.0",
|
|
98
|
-
"eslint-plugin-jest": "~29.
|
|
98
|
+
"eslint-plugin-jest": "~29.12.0",
|
|
99
99
|
"eslint-plugin-jsdoc": "~61.5.0",
|
|
100
100
|
"eslint-plugin-prefer-arrow": "~1.2.3",
|
|
101
101
|
"eslint-plugin-unicorn": "~62.0.0",
|
|
@@ -105,14 +105,14 @@
|
|
|
105
105
|
"jest-junit": "~16.0.0",
|
|
106
106
|
"jest-util": "~30.2.0",
|
|
107
107
|
"jsonc-eslint-parser": "~2.4.0",
|
|
108
|
-
"nx": "~
|
|
108
|
+
"nx": "~22.3.3",
|
|
109
109
|
"rxjs": "^7.8.1",
|
|
110
110
|
"semver": "^7.5.2",
|
|
111
111
|
"ts-jest": "~29.4.0",
|
|
112
112
|
"tslib": "^2.6.2",
|
|
113
113
|
"type-fest": "^5.3.1",
|
|
114
114
|
"typescript": "~5.9.2",
|
|
115
|
-
"typescript-eslint": "~8.
|
|
115
|
+
"typescript-eslint": "~8.52.0"
|
|
116
116
|
},
|
|
117
117
|
"peerDependenciesMeta": {
|
|
118
118
|
"@angular-devkit/core": {
|
package/src/rules/typescript.cjs
CHANGED
|
@@ -36,6 +36,7 @@ const checkDependency = (packageName) => {
|
|
|
36
36
|
const hasPlaywrightInstalled = checkDependency('@playwright/test');
|
|
37
37
|
|
|
38
38
|
const hasJestDependency = checkDependency('jest');
|
|
39
|
+
const hasVitestDependency = checkDependency('vitest');
|
|
39
40
|
|
|
40
41
|
/**
|
|
41
42
|
* @type {import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigArray}
|
|
@@ -111,11 +112,11 @@ const configArray = [
|
|
|
111
112
|
...(hasJestDependency
|
|
112
113
|
? require('./typescript/jest.cjs')
|
|
113
114
|
: [{
|
|
114
|
-
name: '@o3r/eslint-config/typescript/
|
|
115
|
+
name: '@o3r/eslint-config/typescript/unit-test-globals',
|
|
115
116
|
files: ['**/*.{c,m,}ts'],
|
|
116
117
|
languageOptions: {
|
|
117
118
|
globals: {
|
|
118
|
-
...globals.jasmine
|
|
119
|
+
...hasVitestDependency ? globals.vitest : globals.jasmine
|
|
119
120
|
}
|
|
120
121
|
}
|
|
121
122
|
}]
|