@open-xchange/linter-presets 1.5.0 → 1.5.1
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
CHANGED
|
@@ -178,7 +178,7 @@ export declare const NO_UNUSED_VARS_OPTIONS: {
|
|
|
178
178
|
*/
|
|
179
179
|
export declare const NO_IMPLICIT_COERCION_OPTIONS: {
|
|
180
180
|
disallowTemplateShorthand: boolean;
|
|
181
|
-
allow:
|
|
181
|
+
allow: ["!!"];
|
|
182
182
|
};
|
|
183
183
|
/**
|
|
184
184
|
* Creates a glob pattern deeply matching all files with the specified file
|
|
@@ -284,4 +284,4 @@ export declare function convertRuleWarningsToErrors(rules: Partial<Linter.RulesR
|
|
|
284
284
|
* @returns
|
|
285
285
|
* The configuration options for "comma-dangle" rules.
|
|
286
286
|
*/
|
|
287
|
-
export declare function getCommaDangleConfig(stylisticConfig: StylisticConfig): Linter.RuleEntry
|
|
287
|
+
export declare function getCommaDangleConfig(stylisticConfig: StylisticConfig): Linter.RuleEntry<["never" | "always" | "always-multiline"]>;
|
|
@@ -48,7 +48,7 @@ export const NO_UNUSED_VARS_OPTIONS = {
|
|
|
48
48
|
*/
|
|
49
49
|
export const NO_IMPLICIT_COERCION_OPTIONS = {
|
|
50
50
|
disallowTemplateShorthand: true,
|
|
51
|
-
allow: ["!!"],
|
|
51
|
+
allow: ["!!"], // workaround for overly strict typings of "eslint-plugin-vue"
|
|
52
52
|
};
|
|
53
53
|
// functions ==================================================================
|
|
54
54
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-xchange/linter-presets",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "Configuration presets for ESLint and StyleLint",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,20 +27,20 @@
|
|
|
27
27
|
"test": "cd test && eslint . && stylelint \"**/*.{css,scss}\""
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@babel/core": "^7.
|
|
31
|
-
"@babel/eslint-parser": "^7.
|
|
32
|
-
"@babel/plugin-proposal-decorators": "^7.
|
|
30
|
+
"@babel/core": "^7.28.0",
|
|
31
|
+
"@babel/eslint-parser": "^7.28.0",
|
|
32
|
+
"@babel/plugin-proposal-decorators": "^7.28.0",
|
|
33
33
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
34
34
|
"@eslint-react/eslint-plugin": "^1.52.2",
|
|
35
35
|
"@eslint/compat": "^1.3.1",
|
|
36
|
-
"@eslint/js": "^9.30.
|
|
36
|
+
"@eslint/js": "^9.30.1",
|
|
37
37
|
"@eslint/markdown": "^6.6.0",
|
|
38
|
-
"@stylistic/eslint-plugin": "^5.
|
|
38
|
+
"@stylistic/eslint-plugin": "^5.1.0",
|
|
39
39
|
"@stylistic/eslint-plugin-migrate": "^4.4.1",
|
|
40
40
|
"@stylistic/stylelint-config": "^2.0.0",
|
|
41
41
|
"@stylistic/stylelint-plugin": "^3.1.3",
|
|
42
42
|
"@types/picomatch": "^4.0.0",
|
|
43
|
-
"@vitest/eslint-plugin": "^1.
|
|
43
|
+
"@vitest/eslint-plugin": "^1.3.4",
|
|
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",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"eslint-plugin-jest": "^29.0.1",
|
|
50
50
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
51
51
|
"eslint-plugin-jest-extended": "^3.0.0",
|
|
52
|
-
"eslint-plugin-jsdoc": "^51.
|
|
52
|
+
"eslint-plugin-jsdoc": "^51.3.3",
|
|
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",
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
"eslint-plugin-react-hooks-static-deps": "^1.0.7",
|
|
60
60
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
61
61
|
"eslint-plugin-testing-library": "^7.5.3",
|
|
62
|
-
"eslint-plugin-vue": "^10.
|
|
62
|
+
"eslint-plugin-vue": "^10.3.0",
|
|
63
63
|
"eslint-plugin-yml": "^1.18.0",
|
|
64
64
|
"find-up": "^7.0.0",
|
|
65
|
-
"globals": "^16.
|
|
65
|
+
"globals": "^16.3.0",
|
|
66
66
|
"picomatch": "^4.0.2",
|
|
67
67
|
"postcss-html": "^1.8.0",
|
|
68
68
|
"stylelint-config-standard": "^38.0.0",
|
|
@@ -70,16 +70,16 @@
|
|
|
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.35.
|
|
74
|
-
"vue-eslint-parser": "^10.
|
|
73
|
+
"typescript-eslint": "^8.35.1",
|
|
74
|
+
"vue-eslint-parser": "^10.2.0"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@types/confusing-browser-globals": "^1.0.3",
|
|
78
78
|
"@types/eslint-scope": "^8.3.0",
|
|
79
79
|
"@types/react": "^19.1.8",
|
|
80
|
-
"@typescript-eslint/utils": "^8.35.
|
|
81
|
-
"eslint": "^9.30.
|
|
82
|
-
"jest": "^30.0.
|
|
80
|
+
"@typescript-eslint/utils": "^8.35.1",
|
|
81
|
+
"eslint": "^9.30.1",
|
|
82
|
+
"jest": "^30.0.4",
|
|
83
83
|
"jiti": "^2.4.2",
|
|
84
84
|
"premove": "^4.0.0",
|
|
85
85
|
"stylelint": "^16.21.0",
|