@open-xchange/linter-presets 0.8.8 → 0.8.10
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 +8 -0
- package/dist/eslint/env/react.js +2 -3
- package/package.json +20 -20
package/CHANGELOG.md
CHANGED
package/dist/eslint/env/react.js
CHANGED
|
@@ -40,9 +40,8 @@ export default function react(envOptions) {
|
|
|
40
40
|
...reactPlugin.configs.flat.recommended,
|
|
41
41
|
rules: {
|
|
42
42
|
// recommended rules
|
|
43
|
-
|
|
44
|
-
...reactPlugin.configs.flat.
|
|
45
|
-
...reactPlugin.configs.flat["jsx-runtime"].rules,
|
|
43
|
+
...(reactPlugin.configs.flat.recommended.rules),
|
|
44
|
+
...(reactPlugin.configs.flat["jsx-runtime"].rules),
|
|
46
45
|
// custom overrides
|
|
47
46
|
"react/hook-use-state": "error",
|
|
48
47
|
"react/iframe-missing-sandbox": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-xchange/linter-presets",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.10",
|
|
4
4
|
"description": "Configuration presets for ESLint and StyleLint",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"engines": {
|
|
11
11
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
|
12
12
|
},
|
|
13
|
-
"packageManager": "yarn@4.5.
|
|
13
|
+
"packageManager": "yarn@4.5.1",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"exports": "./dist/index.js",
|
|
16
16
|
"scripts": {
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"test": "cd test && eslint ."
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@babel/core": "7.
|
|
25
|
-
"@babel/eslint-parser": "7.25.
|
|
26
|
-
"@babel/plugin-proposal-decorators": "7.25.
|
|
27
|
-
"@eslint-community/eslint-plugin-eslint-comments": "4.4.
|
|
28
|
-
"@eslint/compat": "1.2.
|
|
29
|
-
"@eslint/js": "9.
|
|
24
|
+
"@babel/core": "7.26.0",
|
|
25
|
+
"@babel/eslint-parser": "7.25.9",
|
|
26
|
+
"@babel/plugin-proposal-decorators": "7.25.9",
|
|
27
|
+
"@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
|
|
28
|
+
"@eslint/compat": "1.2.2",
|
|
29
|
+
"@eslint/js": "9.13.0",
|
|
30
30
|
"@eslint/markdown": "6.2.1",
|
|
31
|
-
"@stylistic/eslint-plugin": "2.
|
|
32
|
-
"@stylistic/eslint-plugin-migrate": "2.
|
|
31
|
+
"@stylistic/eslint-plugin": "2.10.0",
|
|
32
|
+
"@stylistic/eslint-plugin-migrate": "2.10.0",
|
|
33
33
|
"@stylistic/stylelint-config": "2.0.0",
|
|
34
34
|
"@stylistic/stylelint-plugin": "3.1.1",
|
|
35
35
|
"@vitest/eslint-plugin": "1.1.7",
|
|
@@ -37,23 +37,23 @@
|
|
|
37
37
|
"eslint-import-resolver-typescript": "3.6.3",
|
|
38
38
|
"eslint-plugin-chai-expect": "3.1.0",
|
|
39
39
|
"eslint-plugin-codeceptjs": "1.3.0",
|
|
40
|
-
"eslint-plugin-eslint-plugin": "6.
|
|
40
|
+
"eslint-plugin-eslint-plugin": "6.3.1",
|
|
41
41
|
"eslint-plugin-import": "2.31.0",
|
|
42
42
|
"eslint-plugin-jest": "28.8.3",
|
|
43
43
|
"eslint-plugin-jest-dom": "5.4.0",
|
|
44
44
|
"eslint-plugin-jsdoc": "50.4.3",
|
|
45
45
|
"eslint-plugin-jsonc": "2.16.0",
|
|
46
|
-
"eslint-plugin-jsx-a11y": "6.10.
|
|
46
|
+
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
47
47
|
"eslint-plugin-jsx-expressions": "1.3.2",
|
|
48
48
|
"eslint-plugin-license-header": "0.6.1",
|
|
49
|
-
"eslint-plugin-n": "17.
|
|
49
|
+
"eslint-plugin-n": "17.12.0",
|
|
50
50
|
"eslint-plugin-promise": "7.1.0",
|
|
51
|
-
"eslint-plugin-react": "7.37.
|
|
51
|
+
"eslint-plugin-react": "7.37.2",
|
|
52
52
|
"eslint-plugin-react-hooks": "5.0.0",
|
|
53
53
|
"eslint-plugin-react-hooks-static-deps": "1.0.7",
|
|
54
|
-
"eslint-plugin-react-refresh": "0.4.
|
|
55
|
-
"eslint-plugin-testing-library": "6.
|
|
56
|
-
"eslint-plugin-yml": "1.
|
|
54
|
+
"eslint-plugin-react-refresh": "0.4.14",
|
|
55
|
+
"eslint-plugin-testing-library": "6.4.0",
|
|
56
|
+
"eslint-plugin-yml": "1.15.0",
|
|
57
57
|
"find-up": "7.0.0",
|
|
58
58
|
"globals": "15.11.0",
|
|
59
59
|
"picomatch": "4.0.2",
|
|
@@ -61,14 +61,14 @@
|
|
|
61
61
|
"stylelint-config-standard-less": "3.0.1",
|
|
62
62
|
"stylelint-config-standard-scss": "13.1.0",
|
|
63
63
|
"stylelint-plugin-license-header": "1.0.3",
|
|
64
|
-
"typescript-eslint": "8.
|
|
64
|
+
"typescript-eslint": "8.12.2"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@types/confusing-browser-globals": "1.0.3",
|
|
68
68
|
"@types/eslint__js": "8.42.3",
|
|
69
69
|
"@types/picomatch": "3.0.1",
|
|
70
|
-
"@typescript-eslint/utils": "8.
|
|
71
|
-
"eslint": "9.
|
|
70
|
+
"@typescript-eslint/utils": "8.12.2",
|
|
71
|
+
"eslint": "9.13.0",
|
|
72
72
|
"jest": "29.7.0",
|
|
73
73
|
"rimraf": "6.0.1",
|
|
74
74
|
"stylelint": "16.10.0",
|