@scayle/eslint-config-storefront 4.3.1 → 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 CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ## 4.3.1
4
10
 
5
11
  ### Patch Changes
@@ -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.1",
3
+ "version": "4.3.2",
4
4
  "description": "SCAYLE Commerce Engine specific eslint configuration",
5
5
  "author": "SCAYLE Commerce Engine",
6
6
  "license": "MIT",