@open-xchange/linter-presets 1.2.2 → 1.2.4
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/config/ts.js +1 -0
- package/dist/eslint/index.js +2 -0
- package/package.json +23 -20
- package/tsconfig.config.json +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## `1.2.4` – 2025-Jan-17
|
|
4
|
+
|
|
5
|
+
- chore: bump dependencies
|
|
6
|
+
|
|
7
|
+
## `1.2.3` – 2025-Jan-16
|
|
8
|
+
|
|
9
|
+
- add: (ESLint) ignore NuxtJS output directories (`.nuxt` and `.output`)
|
|
10
|
+
- fix: (ESLint) bundle types for `picomatch`
|
|
11
|
+
|
|
3
12
|
## `1.2.2` – 2025-Jan-11
|
|
4
13
|
|
|
5
14
|
- fix: (ESLint) support all configuration file extensions
|
package/dist/eslint/config/ts.js
CHANGED
|
@@ -51,6 +51,7 @@ export default function ts() {
|
|
|
51
51
|
"@typescript-eslint/no-invalid-this": "error",
|
|
52
52
|
"@typescript-eslint/no-invalid-void-type": "off",
|
|
53
53
|
"@typescript-eslint/no-loop-func": "error",
|
|
54
|
+
"@typescript-eslint/no-misused-spread": "error",
|
|
54
55
|
"@typescript-eslint/no-namespace": ["error", { allowDeclarations: true }],
|
|
55
56
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
56
57
|
"@typescript-eslint/no-redeclare": "error",
|
package/dist/eslint/index.js
CHANGED
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.4",
|
|
4
4
|
"description": "Configuration presets for ESLint and StyleLint",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,29 +17,30 @@
|
|
|
17
17
|
"prepare": "yarn build",
|
|
18
18
|
"prepack": "yarn build && yarn lint && yarn test",
|
|
19
19
|
"build": "premove dist && tsc",
|
|
20
|
-
"lint": "eslint .",
|
|
20
|
+
"lint": "tsc --project tsconfig.config.json && eslint .",
|
|
21
21
|
"test": "cd test && eslint ."
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@babel/core": "^7.26.0",
|
|
25
|
-
"@babel/eslint-parser": "^7.
|
|
25
|
+
"@babel/eslint-parser": "^7.26.5",
|
|
26
26
|
"@babel/plugin-proposal-decorators": "^7.25.9",
|
|
27
27
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
28
28
|
"@eslint-react/eslint-plugin": "^1.23.2",
|
|
29
|
-
"@eslint/compat": "^1.2.
|
|
30
|
-
"@eslint/js": "^9.
|
|
29
|
+
"@eslint/compat": "^1.2.5",
|
|
30
|
+
"@eslint/js": "^9.18.0",
|
|
31
31
|
"@eslint/markdown": "^6.2.1",
|
|
32
|
-
"@stylistic/eslint-plugin": "^2.
|
|
33
|
-
"@stylistic/eslint-plugin-migrate": "^2.
|
|
32
|
+
"@stylistic/eslint-plugin": "^2.13.0",
|
|
33
|
+
"@stylistic/eslint-plugin-migrate": "^2.13.0",
|
|
34
34
|
"@stylistic/stylelint-config": "^2.0.0",
|
|
35
35
|
"@stylistic/stylelint-plugin": "^3.1.1",
|
|
36
|
-
"@
|
|
36
|
+
"@types/picomatch": "^3.0.1",
|
|
37
|
+
"@vitest/eslint-plugin": "^1.1.25",
|
|
37
38
|
"confusing-browser-globals": "^1.0.11",
|
|
38
39
|
"eslint-plugin-chai-expect": "^3.1.0",
|
|
39
40
|
"eslint-plugin-codeceptjs": "^1.3.0",
|
|
40
41
|
"eslint-plugin-depend": "^0.12.0",
|
|
41
42
|
"eslint-plugin-eslint-plugin": "^6.4.0",
|
|
42
|
-
"eslint-plugin-jest": "^28.
|
|
43
|
+
"eslint-plugin-jest": "^28.11.0",
|
|
43
44
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
44
45
|
"eslint-plugin-jsdoc": "^50.6.1",
|
|
45
46
|
"eslint-plugin-jsonc": "^2.18.2",
|
|
@@ -49,40 +50,42 @@
|
|
|
49
50
|
"eslint-plugin-promise": "^7.2.1",
|
|
50
51
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
51
52
|
"eslint-plugin-react-hooks-static-deps": "^1.0.7",
|
|
52
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
53
|
+
"eslint-plugin-react-refresh": "^0.4.18",
|
|
53
54
|
"eslint-plugin-testing-library": "^7.1.1",
|
|
54
55
|
"eslint-plugin-vue": "^9.32.0",
|
|
55
56
|
"eslint-plugin-yml": "^1.16.0",
|
|
56
57
|
"find-up": "^7.0.0",
|
|
57
58
|
"globals": "^15.14.0",
|
|
58
59
|
"picomatch": "^4.0.2",
|
|
59
|
-
"postcss-html": "^1.
|
|
60
|
-
"stylelint-config-standard": "^
|
|
60
|
+
"postcss-html": "^1.8.0",
|
|
61
|
+
"stylelint-config-standard": "^37.0.0",
|
|
61
62
|
"stylelint-config-standard-less": "^3.0.1",
|
|
62
63
|
"stylelint-config-standard-scss": "^14.0.0",
|
|
63
64
|
"stylelint-config-standard-vue": "^1.0.0",
|
|
64
65
|
"stylelint-plugin-license-header": "^1.0.3",
|
|
65
|
-
"typescript-eslint": "^8.
|
|
66
|
+
"typescript-eslint": "^8.20.0",
|
|
66
67
|
"vue-eslint-parser": "^9.4.3"
|
|
67
68
|
},
|
|
68
69
|
"devDependencies": {
|
|
70
|
+
"@humanwhocodes/momoa": "^3.3.6",
|
|
69
71
|
"@types/confusing-browser-globals": "^1.0.3",
|
|
70
|
-
"@types/
|
|
71
|
-
"@typescript-eslint/utils": "^8.
|
|
72
|
-
"better-typescript-lib": "^2.10.
|
|
73
|
-
"eslint": "^9.
|
|
72
|
+
"@types/eslint-scope": "^3.7.7",
|
|
73
|
+
"@typescript-eslint/utils": "^8.20.0",
|
|
74
|
+
"better-typescript-lib": "^2.10.1",
|
|
75
|
+
"eslint": "^9.18.0",
|
|
74
76
|
"jest": "^29.7.0",
|
|
77
|
+
"jiti": "^2.4.2",
|
|
75
78
|
"premove": "^4.0.0",
|
|
76
|
-
"stylelint": "^16.
|
|
79
|
+
"stylelint": "^16.13.2",
|
|
77
80
|
"typescript": "^5.7.3"
|
|
78
81
|
},
|
|
79
82
|
"peerDependencies": {
|
|
80
83
|
"eslint": "^9.15.0",
|
|
81
84
|
"jest": "^29.7.0",
|
|
82
85
|
"postcss": "^8.4.0",
|
|
83
|
-
"stylelint": "^16.
|
|
86
|
+
"stylelint": "^16.13.0",
|
|
84
87
|
"typescript": "^5.7.0",
|
|
85
|
-
"vitest": "^2.0.0"
|
|
88
|
+
"vitest": "^2.0.0 || ^3.0.0"
|
|
86
89
|
},
|
|
87
90
|
"peerDependenciesMeta": {
|
|
88
91
|
"eslint": {
|