@o3r/eslint-config 13.0.0-next.23 → 13.0.0-next.25

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.23",
3
+ "version": "13.0.0-next.25",
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.23"
40
+ "@o3r/schematics": "^13.0.0-next.25"
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.23",
50
- "@o3r/schematics": "^13.0.0-next.23",
49
+ "@o3r/eslint-plugin": "^13.0.0-next.25",
50
+ "@o3r/schematics": "^13.0.0-next.25",
51
51
  "@schematics/angular": "^20.0.0",
52
- "@stylistic/eslint-plugin": "~3.1.0",
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": "^3.6.3",
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": "^28.8.0",
63
- "eslint-plugin-jsdoc": "^48.11.0 || ^49.0.0 || ^50.0.0",
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": "^54.0.0 || ^55.0.0 || ^56.0.0",
65
+ "eslint-plugin-unicorn": "^60.0.0",
66
66
  "eslint-plugin-unused-imports": "^4.1.4",
67
- "globals": "^15.9.0",
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.23",
85
- "@o3r/eslint-plugin": "^13.0.0-next.23",
86
- "@o3r/test-helpers": "^13.0.0-next.23",
84
+ "@o3r/build-helpers": "^13.0.0-next.25",
85
+ "@o3r/eslint-plugin": "^13.0.0-next.25",
86
+ "@o3r/test-helpers": "^13.0.0-next.25",
87
87
  "@schematics/angular": "~20.0.0",
88
- "@stylistic/eslint-plugin": "~3.1.0",
88
+ "@stylistic/eslint-plugin": "~5.2.0",
89
89
  "@types/jest": "~29.5.2",
90
- "@types/node": "^20.0.0",
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": "~3.10.0",
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": "~28.14.0",
100
- "eslint-plugin-jsdoc": "~50.8.0",
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": "~56.0.0",
102
+ "eslint-plugin-unicorn": "~60.0.0",
103
103
  "eslint-plugin-unused-imports": "~4.1.4",
104
- "globals": "^15.9.0",
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['recommended-flat']),
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: true
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['flat/recommended']),
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',
@@ -79,13 +79,13 @@ const configArray = [
79
79
  files: [
80
80
  '**/*.{c,m,}{t,j}s'
81
81
  ],
82
- ...stylistic.configs['recommended-flat']
82
+ ...stylistic.configs.recommended
83
83
  },
84
84
  {
85
85
  files: [
86
86
  '**/*.{c,m,}{t,j}s'
87
87
  ],
88
- ...unicorn.configs['flat/recommended']
88
+ ...unicorn.default.configs.recommended
89
89
  },
90
90
  ...(getJestConfig('recommended')),
91
91
  {