@open-xchange/linter-presets 1.2.21 → 1.2.23
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/CHANGELOG.md +9 -0
- package/dist/eslint/env/react.js +2 -2
- package/package.json +14 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## `1.2.23` – 2025-Mar-27
|
|
4
|
+
|
|
5
|
+
- chore: bump dependencies
|
|
6
|
+
- changed: (ESLint) reenable rule `@eslint-react/prefer-read-only-props`
|
|
7
|
+
|
|
8
|
+
## `1.2.22` – 2025-Mar-20
|
|
9
|
+
|
|
10
|
+
- chore: bump dependencies
|
|
11
|
+
|
|
3
12
|
## `1.2.21` – 2025-Mar-13
|
|
4
13
|
|
|
5
14
|
- chore: bump dependencies
|
package/dist/eslint/env/react.js
CHANGED
|
@@ -40,14 +40,14 @@ export default function react(envOptions) {
|
|
|
40
40
|
// raise all recommended rules to "error" level
|
|
41
41
|
...convertRuleWarningsToErrors(recommendedConfig.rules),
|
|
42
42
|
// custom overrides
|
|
43
|
+
"@eslint-react/jsx-no-undef": "error",
|
|
43
44
|
"@eslint-react/no-children-prop": "error",
|
|
44
45
|
"@eslint-react/no-class-component": "error",
|
|
45
46
|
"@eslint-react/no-duplicate-jsx-props": "error",
|
|
46
47
|
"@eslint-react/no-implicit-key": "error",
|
|
47
48
|
"@eslint-react/no-missing-component-display-name": "error",
|
|
48
49
|
"@eslint-react/no-useless-fragment": "error",
|
|
49
|
-
|
|
50
|
-
// "@eslint-react/prefer-read-only-props": "error",
|
|
50
|
+
"@eslint-react/prefer-read-only-props": "error",
|
|
51
51
|
"@eslint-react/prefer-shorthand-boolean": "error",
|
|
52
52
|
"@eslint-react/prefer-shorthand-fragment": "error",
|
|
53
53
|
"@eslint-react/use-jsx-vars": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-xchange/linter-presets",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.23",
|
|
4
4
|
"description": "Configuration presets for ESLint and StyleLint",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,20 +28,19 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@babel/core": "^7.26.10",
|
|
31
|
-
"@babel/eslint-parser": "^7.
|
|
31
|
+
"@babel/eslint-parser": "^7.27.0",
|
|
32
32
|
"@babel/plugin-proposal-decorators": "^7.25.9",
|
|
33
33
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
34
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
34
|
+
"@eslint-react/eslint-plugin": "^1.38.0",
|
|
35
35
|
"@eslint/compat": "^1.2.7",
|
|
36
|
-
"@eslint/js": "^9.
|
|
36
|
+
"@eslint/js": "^9.23.0",
|
|
37
37
|
"@eslint/markdown": "^6.3.0",
|
|
38
38
|
"@stylistic/eslint-plugin": "^4.2.0",
|
|
39
39
|
"@stylistic/eslint-plugin-migrate": "^4.2.0",
|
|
40
40
|
"@stylistic/stylelint-config": "^2.0.0",
|
|
41
41
|
"@stylistic/stylelint-plugin": "^3.1.2",
|
|
42
|
-
"@types/css-tree": "^2.3.10",
|
|
43
42
|
"@types/picomatch": "^3.0.2",
|
|
44
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
43
|
+
"@vitest/eslint-plugin": "^1.1.38",
|
|
45
44
|
"confusing-browser-globals": "^1.0.11",
|
|
46
45
|
"eslint-plugin-chai-expect": "^3.1.0",
|
|
47
46
|
"eslint-plugin-codeceptjs": "^1.3.0",
|
|
@@ -50,11 +49,11 @@
|
|
|
50
49
|
"eslint-plugin-jest": "^28.11.0",
|
|
51
50
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
52
51
|
"eslint-plugin-jest-extended": "^3.0.0",
|
|
53
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
54
|
-
"eslint-plugin-jsonc": "^2.
|
|
52
|
+
"eslint-plugin-jsdoc": "^50.6.9",
|
|
53
|
+
"eslint-plugin-jsonc": "^2.20.0",
|
|
55
54
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
56
55
|
"eslint-plugin-license-header": "^0.8.0",
|
|
57
|
-
"eslint-plugin-n": "^17.
|
|
56
|
+
"eslint-plugin-n": "^17.17.0",
|
|
58
57
|
"eslint-plugin-promise": "^7.2.1",
|
|
59
58
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
60
59
|
"eslint-plugin-react-hooks-static-deps": "^1.0.7",
|
|
@@ -71,26 +70,26 @@
|
|
|
71
70
|
"stylelint-config-standard-scss": "^14.0.0",
|
|
72
71
|
"stylelint-config-standard-vue": "^1.0.0",
|
|
73
72
|
"stylelint-plugin-license-header": "^1.0.3",
|
|
74
|
-
"typescript-eslint": "^8.
|
|
73
|
+
"typescript-eslint": "^8.28.0",
|
|
75
74
|
"vue-eslint-parser": "^10.1.1"
|
|
76
75
|
},
|
|
77
76
|
"devDependencies": {
|
|
78
77
|
"@types/confusing-browser-globals": "^1.0.3",
|
|
79
78
|
"@types/eslint-scope": "^3.7.7",
|
|
80
|
-
"@types/react": "^19.0.
|
|
81
|
-
"@typescript-eslint/utils": "^8.
|
|
82
|
-
"eslint": "^9.
|
|
79
|
+
"@types/react": "^19.0.12",
|
|
80
|
+
"@typescript-eslint/utils": "^8.28.0",
|
|
81
|
+
"eslint": "^9.23.0",
|
|
83
82
|
"jest": "^29.7.0",
|
|
84
83
|
"jiti": "^2.4.2",
|
|
85
84
|
"premove": "^4.0.0",
|
|
86
|
-
"stylelint": "^16.
|
|
85
|
+
"stylelint": "^16.17.0",
|
|
87
86
|
"typescript": "^5.8.2"
|
|
88
87
|
},
|
|
89
88
|
"peerDependencies": {
|
|
90
89
|
"eslint": "^9.15.0",
|
|
91
90
|
"jest": "^29.7.0",
|
|
92
91
|
"postcss": "^8.4.0",
|
|
93
|
-
"stylelint": "^16.
|
|
92
|
+
"stylelint": "^16.16.0",
|
|
94
93
|
"typescript": "^5.7.0",
|
|
95
94
|
"vitest": "^2.0.0 || ^3.0.0"
|
|
96
95
|
},
|