@o3r/eslint-config 14.0.0-next.9 → 14.0.0-prerelease.1

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.9",
3
+ "version": "14.0.0-prerelease.1",
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.9"
40
+ "@o3r/schematics": "~14.0.0-prerelease.1"
41
41
  },
42
42
  "peerDependencies": {
43
- "@angular-devkit/core": "^20.0.0",
44
- "@angular-devkit/schematics": "^20.0.0",
45
- "@angular-eslint/builder": "^20.0.0",
46
- "@angular/compiler": "^20.0.0",
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.9",
50
- "@o3r/schematics": "~14.0.0-next.9",
51
- "@schematics/angular": "^20.0.0",
49
+ "@o3r/eslint-plugin": "~14.0.0-prerelease.1",
50
+ "@o3r/schematics": "~14.0.0-prerelease.1",
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": "^20.0.0",
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": "~20.3.13",
78
- "@angular-devkit/schematics": "~20.3.13",
79
- "@angular/compiler": "~20.3.15",
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": "~21.6.0",
83
- "@o3r/build-helpers": "~14.0.0-next.9",
84
- "@o3r/eslint-plugin": "~14.0.0-next.9",
85
- "@o3r/test-helpers": "~14.0.0-next.9",
86
- "@schematics/angular": "~20.3.13",
82
+ "@nx/eslint-plugin": "~22.3.3",
83
+ "@o3r/build-helpers": "~14.0.0-prerelease.1",
84
+ "@o3r/eslint-plugin": "~14.0.0-prerelease.1",
85
+ "@o3r/test-helpers": "~14.0.0-prerelease.1",
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.51.0",
91
- "angular-eslint": "~20.6.0",
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.11.0",
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": "~21.6.0",
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.51.0"
115
+ "typescript-eslint": "~8.52.0"
116
116
  },
117
117
  "peerDependenciesMeta": {
118
118
  "@angular-devkit/core": {
@@ -16,6 +16,7 @@ const config = [
16
16
  'error',
17
17
  {
18
18
  type: 'element',
19
+ prefix: [],
19
20
  style: 'kebab-case'
20
21
  }
21
22
  ],
@@ -25,6 +26,7 @@ const config = [
25
26
  'error',
26
27
  {
27
28
  type: 'attribute',
29
+ prefix: [],
28
30
  style: 'camelCase'
29
31
  }
30
32
  ],
@@ -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/jasmine-globals',
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
  }]