@scayle/eslint-config-storefront 4.3.0 → 4.3.2
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 +14 -0
- package/README.md +4 -0
- package/config/flat/index.mjs +6 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @aboutyou/eslint-config-sfc
|
|
2
2
|
|
|
3
|
+
## 4.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Enable `curly` rule to enforce consistent brace style for all control statements
|
|
8
|
+
|
|
9
|
+
## 4.3.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependency `@antfu/eslint-config@^2.21.3` to `@antfu/eslint-config@^3.0.0`
|
|
14
|
+
- Updated dependency `eslint-flat-config-utils@^0.3.0` to `eslint-flat-config-utils@^0.4.0`
|
|
15
|
+
- Updated dependency `eslint-config-flat-gitignore@^0.1.6` to `eslint-config-flat-gitignore@^0.3.0`
|
|
16
|
+
|
|
3
17
|
## 4.3.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/README.md
CHANGED
package/config/flat/index.mjs
CHANGED
|
@@ -66,6 +66,12 @@ export const eslintConfigStorefront = function(config = {
|
|
|
66
66
|
sanitized(),
|
|
67
67
|
),
|
|
68
68
|
nonNuxtRules,
|
|
69
|
+
{
|
|
70
|
+
rules: {
|
|
71
|
+
// https://eslint.org/docs/latest/rules/curly
|
|
72
|
+
'curly': ['error', 'all'],
|
|
73
|
+
},
|
|
74
|
+
},
|
|
69
75
|
{
|
|
70
76
|
// Disable default rules by imported @antfu/eslint-config
|
|
71
77
|
rules: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/eslint-config-storefront",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.2",
|
|
4
4
|
"description": "SCAYLE Commerce Engine specific eslint configuration",
|
|
5
5
|
"author": "SCAYLE Commerce Engine",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"local-pkg": "^0.5.0",
|
|
39
|
-
"@antfu/eslint-config": "^
|
|
39
|
+
"@antfu/eslint-config": "^3.0.0",
|
|
40
40
|
"@eslint/eslintrc": "^3.1.0",
|
|
41
|
-
"eslint-flat-config-utils": "^0.
|
|
42
|
-
"eslint-config-flat-gitignore": "^0.
|
|
41
|
+
"eslint-flat-config-utils": "^0.4.0",
|
|
42
|
+
"eslint-config-flat-gitignore": "^0.3.0",
|
|
43
43
|
"eslint-plugin-no-unsanitized": "^4.0.2",
|
|
44
44
|
"eslint-plugin-promise": "^7.0.0",
|
|
45
45
|
"eslint-plugin-sonarjs": "^1.0.3"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"dprint": "0.47.2",
|
|
49
|
-
"eslint": "9.
|
|
49
|
+
"eslint": "9.12.0",
|
|
50
50
|
"eslint-formatter-gitlab": "5.1.0",
|
|
51
|
-
"publint": "0.2.
|
|
51
|
+
"publint": "0.2.11"
|
|
52
52
|
}
|
|
53
53
|
}
|