@open-turo/eslint-config-typescript 20.1.0 → 21.0.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.
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Breaking changes in v21
|
|
2
|
+
|
|
3
|
+
- Re-releasing 20.1.0 as a major.
|
|
4
|
+
- `perfectionist/sort-union-types` switched from `alphabetical` to `natural` sort order.
|
|
5
|
+
- `perfectionist/sort-switch-case` switched from `alphabetical` to `natural` sort order.
|
|
6
|
+
- `perfectionist/sort-classes` bespoke custom grouping defined for TypeScript class compatibility.
|
|
7
|
+
- Adds back `sonarjs/code-eval` (removed in v19)
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Turo eslint configuration for typescript",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@eslint/js": "9.39.
|
|
6
|
+
"@eslint/js": "9.39.4",
|
|
7
7
|
"@typescript-eslint/eslint-plugin": "8.56.1",
|
|
8
8
|
"@typescript-eslint/parser": "8.56.1",
|
|
9
9
|
"@vitest/eslint-plugin": "1.6.9",
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
"eslint-plugin-n": "17.24.0",
|
|
16
16
|
"eslint-plugin-perfectionist": "4.15.1",
|
|
17
17
|
"eslint-plugin-prettier": "5.5.5",
|
|
18
|
-
"eslint-plugin-sonarjs": "4.0.
|
|
18
|
+
"eslint-plugin-sonarjs": "4.0.1",
|
|
19
19
|
"eslint-plugin-unicorn": "56.0.1",
|
|
20
20
|
"typescript-eslint": "8.56.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@prettier/plugin-oxc": "0.1.3",
|
|
24
|
-
"eslint": "9.39.
|
|
24
|
+
"eslint": "9.39.4",
|
|
25
25
|
"jest": "30.2.0",
|
|
26
26
|
"prettier": "3.8.1"
|
|
27
27
|
},
|
|
@@ -56,6 +56,6 @@
|
|
|
56
56
|
"access": "public"
|
|
57
57
|
},
|
|
58
58
|
"repository": "https://github.com/open-turo/eslint-config-typescript",
|
|
59
|
-
"version": "
|
|
59
|
+
"version": "21.0.0",
|
|
60
60
|
"packageManager": "npm@11.11.0"
|
|
61
61
|
}
|
|
@@ -1923,6 +1923,9 @@ exports[`validate config the flat config is correct for index.cjs 1`] = `
|
|
|
1923
1923
|
"sonarjs/class-prototype": [
|
|
1924
1924
|
0,
|
|
1925
1925
|
],
|
|
1926
|
+
"sonarjs/code-eval": [
|
|
1927
|
+
2,
|
|
1928
|
+
],
|
|
1926
1929
|
"sonarjs/cognitive-complexity": [
|
|
1927
1930
|
2,
|
|
1928
1931
|
15,
|
|
@@ -5196,6 +5199,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5196
5199
|
"sonarjs/class-prototype": [
|
|
5197
5200
|
0,
|
|
5198
5201
|
],
|
|
5202
|
+
"sonarjs/code-eval": [
|
|
5203
|
+
2,
|
|
5204
|
+
],
|
|
5199
5205
|
"sonarjs/cognitive-complexity": [
|
|
5200
5206
|
2,
|
|
5201
5207
|
15,
|
|
@@ -8466,6 +8472,9 @@ exports[`validate config the flat config with vitest is correct for index.cjs 1`
|
|
|
8466
8472
|
"sonarjs/class-prototype": [
|
|
8467
8473
|
0,
|
|
8468
8474
|
],
|
|
8475
|
+
"sonarjs/code-eval": [
|
|
8476
|
+
2,
|
|
8477
|
+
],
|
|
8469
8478
|
"sonarjs/cognitive-complexity": [
|
|
8470
8479
|
2,
|
|
8471
8480
|
15,
|
|
@@ -11817,6 +11826,9 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
11817
11826
|
"sonarjs/class-prototype": [
|
|
11818
11827
|
0,
|
|
11819
11828
|
],
|
|
11829
|
+
"sonarjs/code-eval": [
|
|
11830
|
+
2,
|
|
11831
|
+
],
|
|
11820
11832
|
"sonarjs/cognitive-complexity": [
|
|
11821
11833
|
2,
|
|
11822
11834
|
15,
|
|
@@ -15087,6 +15099,9 @@ exports[`validate config the legacy recommended config is correct 1`] = `
|
|
|
15087
15099
|
"sonarjs/class-prototype": [
|
|
15088
15100
|
"off",
|
|
15089
15101
|
],
|
|
15102
|
+
"sonarjs/code-eval": [
|
|
15103
|
+
"error",
|
|
15104
|
+
],
|
|
15090
15105
|
"sonarjs/cognitive-complexity": [
|
|
15091
15106
|
"error",
|
|
15092
15107
|
],
|
|
Binary file
|