@open-xchange/linter-presets 1.2.35 → 1.2.37
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 +1 -0
- package/package.json +23 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## `1.2.37` – 2025-Jun-12
|
|
4
|
+
|
|
5
|
+
- chore: bump dependencies
|
|
6
|
+
|
|
7
|
+
## `1.2.36` – 2025-Jun-05
|
|
8
|
+
|
|
9
|
+
- added: (ESLint) rule `@eslint-react/jsx-no-iife` to `env.react`
|
|
10
|
+
- chore: bump dependencies
|
|
11
|
+
|
|
3
12
|
## `1.2.35` – 2025-May-29
|
|
4
13
|
|
|
5
14
|
- chore: bump dependencies
|
package/dist/eslint/env/react.js
CHANGED
|
@@ -40,6 +40,7 @@ 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-iife": "error",
|
|
43
44
|
"@eslint-react/jsx-no-undef": "error",
|
|
44
45
|
"@eslint-react/no-children-prop": "error",
|
|
45
46
|
"@eslint-react/no-class-component": "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.37",
|
|
4
4
|
"description": "Configuration presets for ESLint and StyleLint",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"engines": {
|
|
12
12
|
"node": ">=20.18"
|
|
13
13
|
},
|
|
14
|
-
"packageManager": "yarn@4.9.
|
|
14
|
+
"packageManager": "yarn@4.9.2",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"exports": "./dist/index.js",
|
|
17
17
|
"files": [
|
|
@@ -27,39 +27,39 @@
|
|
|
27
27
|
"test": "cd test && eslint . && stylelint \"**/*.{css,scss}\""
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@babel/core": "^7.27.
|
|
31
|
-
"@babel/eslint-parser": "^7.27.
|
|
30
|
+
"@babel/core": "^7.27.4",
|
|
31
|
+
"@babel/eslint-parser": "^7.27.5",
|
|
32
32
|
"@babel/plugin-proposal-decorators": "^7.27.1",
|
|
33
33
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
34
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
35
|
-
"@eslint/compat": "^1.
|
|
36
|
-
"@eslint/js": "^9.
|
|
37
|
-
"@eslint/markdown": "^6.
|
|
38
|
-
"@stylistic/eslint-plugin": "^4.4.
|
|
39
|
-
"@stylistic/eslint-plugin-migrate": "^4.4.
|
|
34
|
+
"@eslint-react/eslint-plugin": "^1.52.1",
|
|
35
|
+
"@eslint/compat": "^1.3.0",
|
|
36
|
+
"@eslint/js": "^9.28.0",
|
|
37
|
+
"@eslint/markdown": "^6.5.0",
|
|
38
|
+
"@stylistic/eslint-plugin": "^4.4.1",
|
|
39
|
+
"@stylistic/eslint-plugin-migrate": "^4.4.1",
|
|
40
40
|
"@stylistic/stylelint-config": "^2.0.0",
|
|
41
41
|
"@stylistic/stylelint-plugin": "^3.1.2",
|
|
42
42
|
"@types/picomatch": "^4.0.0",
|
|
43
|
-
"@vitest/eslint-plugin": "^1.2.
|
|
43
|
+
"@vitest/eslint-plugin": "^1.2.2",
|
|
44
44
|
"confusing-browser-globals": "^1.0.11",
|
|
45
45
|
"eslint-plugin-chai-expect": "^3.1.0",
|
|
46
46
|
"eslint-plugin-codeceptjs": "^1.3.0",
|
|
47
47
|
"eslint-plugin-depend": "^1.2.0",
|
|
48
48
|
"eslint-plugin-eslint-plugin": "^6.4.0",
|
|
49
|
-
"eslint-plugin-jest": "^28.
|
|
49
|
+
"eslint-plugin-jest": "^28.13.3",
|
|
50
50
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
51
51
|
"eslint-plugin-jest-extended": "^3.0.0",
|
|
52
|
-
"eslint-plugin-jsdoc": "^50.
|
|
52
|
+
"eslint-plugin-jsdoc": "^50.8.0",
|
|
53
53
|
"eslint-plugin-jsonc": "^2.20.1",
|
|
54
54
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
55
55
|
"eslint-plugin-license-header": "^0.8.0",
|
|
56
|
-
"eslint-plugin-n": "^17.
|
|
56
|
+
"eslint-plugin-n": "^17.19.0",
|
|
57
57
|
"eslint-plugin-promise": "^7.2.1",
|
|
58
58
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
59
59
|
"eslint-plugin-react-hooks-static-deps": "^1.0.7",
|
|
60
60
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
61
|
-
"eslint-plugin-testing-library": "^7.
|
|
62
|
-
"eslint-plugin-vue": "^10.
|
|
61
|
+
"eslint-plugin-testing-library": "^7.5.2",
|
|
62
|
+
"eslint-plugin-vue": "^10.2.0",
|
|
63
63
|
"eslint-plugin-yml": "^1.18.0",
|
|
64
64
|
"find-up": "^7.0.0",
|
|
65
65
|
"globals": "^16.2.0",
|
|
@@ -70,26 +70,26 @@
|
|
|
70
70
|
"stylelint-config-standard-scss": "^15.0.1",
|
|
71
71
|
"stylelint-config-standard-vue": "^1.0.0",
|
|
72
72
|
"stylelint-plugin-license-header": "^1.0.3",
|
|
73
|
-
"typescript-eslint": "^8.
|
|
73
|
+
"typescript-eslint": "^8.34.0",
|
|
74
74
|
"vue-eslint-parser": "^10.1.3"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@types/confusing-browser-globals": "^1.0.3",
|
|
78
78
|
"@types/eslint-scope": "^8.3.0",
|
|
79
|
-
"@types/react": "^19.1.
|
|
80
|
-
"@typescript-eslint/utils": "^8.
|
|
81
|
-
"eslint": "^9.
|
|
82
|
-
"jest": "^
|
|
79
|
+
"@types/react": "^19.1.8",
|
|
80
|
+
"@typescript-eslint/utils": "^8.34.0",
|
|
81
|
+
"eslint": "^9.28.0",
|
|
82
|
+
"jest": "^30.0.0",
|
|
83
83
|
"jiti": "^2.4.2",
|
|
84
84
|
"premove": "^4.0.0",
|
|
85
|
-
"stylelint": "^16.
|
|
85
|
+
"stylelint": "^16.20.0",
|
|
86
86
|
"ts-patch": "^3.3.0",
|
|
87
87
|
"typescript": "^5.8.3",
|
|
88
88
|
"typescript-transform-paths": "^3.5.5"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
91
|
"eslint": "^9.27.0",
|
|
92
|
-
"jest": "^29.7.0",
|
|
92
|
+
"jest": "^29.7.0 || ^30.0.0",
|
|
93
93
|
"postcss": "^8.4.0",
|
|
94
94
|
"stylelint": "^16.19.0",
|
|
95
95
|
"typescript": "^5.7.0",
|