@scayle/eslint-config-storefront 4.3.2 → 4.4.0

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,22 @@
1
1
  # @aboutyou/eslint-config-sfc
2
2
 
3
+ ## 4.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - We've updated to `eslint-plugin-sonarjs@3.x`. This fixes the executions of multiple SonarJS rules like "cognitive-complexity" during linting and also adds additional new rules.
8
+
9
+ - Check the official [`eslint-plugin-sonarjs` - CHANGELOG.md](https://github.com/SonarSource/SonarJS/blob/master/packages/jsts/src/rules/CHANGELOG.md) for more details.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependency `local-pkg@^0.5.0` to `local-pkg@^0.5.1`
14
+ - Updated dependency `@antfu/eslint-config@^3.0.0` to `@antfu/eslint-config@^3.11.2`
15
+ - Updated dependency `@eslint/eslintrc@^3.1.0` to `@eslint/eslintrc@^3.2.0`
16
+ - Updated dependency `eslint-plugin-no-unsanitized@^4.0.2` to `eslint-plugin-no-unsanitized@^4.1.2`
17
+ - Updated dependency `eslint-plugin-promise@^7.0.0` to `eslint-plugin-promise@^7.2.1`
18
+ - Updated dependency `eslint-plugin-sonarjs@^1.0.3` to `eslint-plugin-sonarjs@^3.0.1`
19
+
3
20
  ## 4.3.2
4
21
 
5
22
  ### Patch Changes
@@ -4,7 +4,6 @@ export function sanitized() {
4
4
  return [
5
5
  {
6
6
  name: 'storefront/sanitized/rules',
7
- // Legacy: eslint-plugin-no-unsanitized
8
7
  plugins: {
9
8
  sanitized: pluginNoUnsanitized,
10
9
  },
@@ -7,13 +7,13 @@ export function sonarjs() {
7
7
  name: 'storefront/sonarjs/rules',
8
8
  // Legacy: eslint-plugin-sonarjs
9
9
  // Support for FlatConfig: <https://github.com/SonarSource/SonarJS/issues/3968>
10
- // Disabling currently incompatible rules per recommendation:
11
- // <https://github.com/SonarSource/eslint-plugin-sonarjs/issues/454#issuecomment-2051659694>
12
10
  'plugins': {
13
11
  pluginSonarjs,
14
12
  },
15
13
  rules: {
16
14
  'sonarjs/no-duplicate-string': 'off',
15
+ 'sonarjs/todo-tag': 'warn',
16
+ 'sonarjs/fixme-tag': 'warn',
17
17
  },
18
18
  },
19
19
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/eslint-config-storefront",
3
- "version": "4.3.2",
3
+ "version": "4.4.0",
4
4
  "description": "SCAYLE Commerce Engine specific eslint configuration",
5
5
  "author": "SCAYLE Commerce Engine",
6
6
  "license": "MIT",
@@ -35,19 +35,19 @@
35
35
  "typescript": "^5.4.0"
36
36
  },
37
37
  "dependencies": {
38
- "local-pkg": "^0.5.0",
39
- "@antfu/eslint-config": "^3.0.0",
40
- "@eslint/eslintrc": "^3.1.0",
38
+ "local-pkg": "^0.5.1",
39
+ "@antfu/eslint-config": "^3.11.2",
40
+ "@eslint/eslintrc": "^3.2.0",
41
41
  "eslint-flat-config-utils": "^0.4.0",
42
42
  "eslint-config-flat-gitignore": "^0.3.0",
43
- "eslint-plugin-no-unsanitized": "^4.0.2",
44
- "eslint-plugin-promise": "^7.0.0",
45
- "eslint-plugin-sonarjs": "^1.0.3"
43
+ "eslint-plugin-no-unsanitized": "^4.1.2",
44
+ "eslint-plugin-promise": "^7.2.1",
45
+ "eslint-plugin-sonarjs": "^3.0.1"
46
46
  },
47
47
  "devDependencies": {
48
- "dprint": "0.47.2",
49
- "eslint": "9.12.0",
48
+ "dprint": "0.47.6",
49
+ "eslint": "9.16.0",
50
50
  "eslint-formatter-gitlab": "5.1.0",
51
- "publint": "0.2.11"
51
+ "publint": "0.2.12"
52
52
  }
53
53
  }