@scayle/eslint-config-storefront 4.3.2 → 4.4.1
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 +25 -0
- package/config/flat/sanitized.mjs +0 -1
- package/config/flat/sonarjs.mjs +2 -2
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @aboutyou/eslint-config-sfc
|
|
2
2
|
|
|
3
|
+
## 4.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependency `local-pkg@^0.5.1` to `local-pkg@^1.0.0`
|
|
8
|
+
- Updated dependency `eslint-flat-config-utils@^0.4.0` to `eslint-flat-config-utils@^1.0.0`
|
|
9
|
+
- Updated dependency `eslint-config-flat-gitignore@^0.3.0` to `eslint-config-flat-gitignore@^1.0.0`
|
|
10
|
+
|
|
11
|
+
## 4.4.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- 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.
|
|
16
|
+
|
|
17
|
+
- Check the official [`eslint-plugin-sonarjs` - CHANGELOG.md](https://github.com/SonarSource/SonarJS/blob/master/packages/jsts/src/rules/CHANGELOG.md) for more details.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependency `local-pkg@^0.5.0` to `local-pkg@^0.5.1`
|
|
22
|
+
- Updated dependency `@antfu/eslint-config@^3.0.0` to `@antfu/eslint-config@^3.11.2`
|
|
23
|
+
- Updated dependency `@eslint/eslintrc@^3.1.0` to `@eslint/eslintrc@^3.2.0`
|
|
24
|
+
- Updated dependency `eslint-plugin-no-unsanitized@^4.0.2` to `eslint-plugin-no-unsanitized@^4.1.2`
|
|
25
|
+
- Updated dependency `eslint-plugin-promise@^7.0.0` to `eslint-plugin-promise@^7.2.1`
|
|
26
|
+
- Updated dependency `eslint-plugin-sonarjs@^1.0.3` to `eslint-plugin-sonarjs@^3.0.1`
|
|
27
|
+
|
|
3
28
|
## 4.3.2
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
package/config/flat/sonarjs.mjs
CHANGED
|
@@ -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
|
+
"version": "4.4.1",
|
|
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.
|
|
39
|
-
"@antfu/eslint-config": "^3.
|
|
40
|
-
"@eslint/eslintrc": "^3.
|
|
41
|
-
"eslint-flat-config-utils": "^0.
|
|
42
|
-
"eslint-config-flat-gitignore": "^0.
|
|
43
|
-
"eslint-plugin-no-unsanitized": "^4.
|
|
44
|
-
"eslint-plugin-promise": "^7.
|
|
45
|
-
"eslint-plugin-sonarjs": "^
|
|
38
|
+
"local-pkg": "^1.0.0",
|
|
39
|
+
"@antfu/eslint-config": "^3.11.2",
|
|
40
|
+
"@eslint/eslintrc": "^3.2.0",
|
|
41
|
+
"eslint-flat-config-utils": "^1.0.0",
|
|
42
|
+
"eslint-config-flat-gitignore": "^1.0.0",
|
|
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.
|
|
49
|
-
"eslint": "9.
|
|
48
|
+
"dprint": "0.48.0",
|
|
49
|
+
"eslint": "9.17.0",
|
|
50
50
|
"eslint-formatter-gitlab": "5.1.0",
|
|
51
|
-
"publint": "0.2.
|
|
51
|
+
"publint": "0.2.12"
|
|
52
52
|
}
|
|
53
53
|
}
|