@scayle/eslint-config-storefront 4.5.10 → 4.5.11
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 +6 -0
- package/config/flat/index.mjs +5 -0
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
package/config/flat/index.mjs
CHANGED
|
@@ -55,12 +55,17 @@ export const eslintConfigStorefront = function(config = {
|
|
|
55
55
|
tseslint.configs.recommended,
|
|
56
56
|
[{
|
|
57
57
|
rules: {
|
|
58
|
+
// https://eslint.org/docs/latest/rules/curly
|
|
59
|
+
'curly': ['error', 'all'],
|
|
60
|
+
// https://typescript-eslint.io/rules/no-explicit-any/
|
|
58
61
|
'@typescript-eslint/no-explicit-any': ['warn', {
|
|
59
62
|
ignoreRestArgs: true,
|
|
60
63
|
}],
|
|
64
|
+
// https://typescript-eslint.io/rules/no-empty-object-type/
|
|
61
65
|
'@typescript-eslint/no-empty-object-type': ['error', {
|
|
62
66
|
'allowInterfaces': 'always',
|
|
63
67
|
}],
|
|
68
|
+
// https://typescript-eslint.io/rules/no-unused-vars/
|
|
64
69
|
'@typescript-eslint/no-unused-vars': [
|
|
65
70
|
'error',
|
|
66
71
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/eslint-config-storefront",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.11",
|
|
4
4
|
"description": "SCAYLE Commerce Engine specific eslint configuration",
|
|
5
5
|
"author": "SCAYLE Commerce Engine",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,14 +29,6 @@
|
|
|
29
29
|
"./index.mjs",
|
|
30
30
|
"./config/"
|
|
31
31
|
],
|
|
32
|
-
"scripts": {
|
|
33
|
-
"format": "dprint check",
|
|
34
|
-
"format:fix": "dprint fmt",
|
|
35
|
-
"lint": "eslint .",
|
|
36
|
-
"lint:ci": "eslint . --format gitlab",
|
|
37
|
-
"lint:fix": "eslint . --fix",
|
|
38
|
-
"package:lint": "publint"
|
|
39
|
-
},
|
|
40
32
|
"peerDependencies": {
|
|
41
33
|
"eslint": ">=9.0.0",
|
|
42
34
|
"typescript": ">=5.4.0"
|
|
@@ -50,13 +42,21 @@
|
|
|
50
42
|
"eslint-plugin-promise": "^7.2.1",
|
|
51
43
|
"eslint-plugin-sonarjs": "^3.0.1",
|
|
52
44
|
"local-pkg": "^1.0.0",
|
|
53
|
-
"typescript-eslint": "8.
|
|
45
|
+
"typescript-eslint": "8.35.0"
|
|
54
46
|
},
|
|
55
47
|
"devDependencies": {
|
|
56
48
|
"dprint": "0.50.0",
|
|
57
49
|
"eslint": "9.29.0",
|
|
58
50
|
"eslint-formatter-gitlab": "6.0.1",
|
|
59
|
-
"publint": "0.
|
|
51
|
+
"publint": "0.3.12",
|
|
60
52
|
"typescript": "5.8.3"
|
|
53
|
+
},
|
|
54
|
+
"scripts": {
|
|
55
|
+
"format": "dprint check",
|
|
56
|
+
"format:fix": "dprint fmt",
|
|
57
|
+
"lint": "eslint .",
|
|
58
|
+
"lint:ci": "eslint . --format gitlab",
|
|
59
|
+
"lint:fix": "eslint . --fix",
|
|
60
|
+
"package:lint": "publint"
|
|
61
61
|
}
|
|
62
|
-
}
|
|
62
|
+
}
|