@scayle/eslint-config-storefront 4.7.0 → 4.7.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,18 @@
1
1
  # @aboutyou/eslint-config-sfc
2
2
 
3
+ ## 4.7.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependency `@antfu/eslint-config@^4.0.0` to `@antfu/eslint-config@^5.0.0`
8
+ - Updated dependency `typescript-eslint@8.36.0` to `typescript-eslint@8.38.0`
9
+
10
+ ## 4.7.1
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependency `@antfu/eslint-config@^4.0.0` to `@antfu/eslint-config@^5.0.0`
15
+
3
16
  ## 4.7.0
4
17
 
5
18
  ### Minor Changes
@@ -1,13 +1,10 @@
1
1
  import pluginPromise from 'eslint-plugin-promise'
2
2
 
3
3
  // Pre-defined rule configurations for better performance
4
- const ERROR_RULES = {
4
+ const PROMISE_RULES = {
5
5
  'promise/no-multiple-resolved': 'error',
6
6
  'promise/no-new-statics': 'error',
7
7
  'promise/no-return-wrap': 'error',
8
- }
9
-
10
- const WARN_RULES = {
11
8
  'promise/always-return': 'warn',
12
9
  'promise/avoid-new': 'warn',
13
10
  'promise/catch-or-return': 'warn',
@@ -17,9 +14,6 @@ const WARN_RULES = {
17
14
  'promise/no-return-in-finally': 'warn',
18
15
  'promise/param-names': 'warn',
19
16
  'promise/valid-params': 'warn',
20
- }
21
-
22
- const OFF_RULES = {
23
17
  'promise/no-native': 'off',
24
18
  }
25
19
 
@@ -28,11 +22,7 @@ export function promise() {
28
22
  {
29
23
  name: 'storefront/promise/rules',
30
24
  plugins: { promise: pluginPromise },
31
- rules: {
32
- ...ERROR_RULES,
33
- ...WARN_RULES,
34
- ...OFF_RULES,
35
- },
25
+ rules: PROMISE_RULES,
36
26
  },
37
27
  ]
38
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/eslint-config-storefront",
3
- "version": "4.7.0",
3
+ "version": "4.7.2",
4
4
  "description": "SCAYLE Commerce Engine specific eslint configuration",
5
5
  "author": "SCAYLE Commerce Engine",
6
6
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  "typescript": ">=5.4.0"
35
35
  },
36
36
  "dependencies": {
37
- "@antfu/eslint-config": "^4.0.0",
37
+ "@antfu/eslint-config": "^5.0.0",
38
38
  "@eslint/eslintrc": "^3.2.0",
39
39
  "eslint-config-flat-gitignore": "^2.0.0",
40
40
  "eslint-flat-config-utils": "^2.0.0",
@@ -42,11 +42,11 @@
42
42
  "eslint-plugin-promise": "^7.2.1",
43
43
  "eslint-plugin-sonarjs": "^3.0.1",
44
44
  "local-pkg": "^1.0.0",
45
- "typescript-eslint": "8.36.0"
45
+ "typescript-eslint": "8.38.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "dprint": "0.50.1",
49
- "eslint": "9.31.0",
49
+ "eslint": "9.32.0",
50
50
  "eslint-formatter-gitlab": "6.0.1",
51
51
  "publint": "0.3.12",
52
52
  "typescript": "5.8.3"