Skip to content

Commit 3b62b8d

Browse files
authored
Merge pull request #319 from VirtualLiveLab/renovate/eslint-config-major-eslint
fix(deps): update dependency eslint-plugin-perfectionist to v4 (eslint-config)
2 parents e083482 + 64d51af commit 3b62b8d

File tree

5 files changed

+175
-30
lines changed

5 files changed

+175
-30
lines changed

.changeset/dependencies-GH-319.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@virtual-live-lab/eslint-config": patch
3+
---
4+
5+
fix(deps): update dependency eslint-plugin-perfectionist to v4 (eslint-config)

packages/eslint-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"eslint-config-prettier": "9.1.0",
4747
"eslint-plugin-astro": "1.3.1",
4848
"eslint-plugin-jsx-a11y": "6.10.2",
49-
"eslint-plugin-perfectionist": "3.9.1",
49+
"eslint-plugin-perfectionist": "4.1.2",
5050
"eslint-plugin-react": "7.37.2",
5151
"eslint-plugin-react-hooks": "5.0.0",
5252
"eslint-plugin-react-refresh": "0.4.14",

packages/eslint-config/src/base/stylistic.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const stylisticConfig = tseslint.config({
99
files: [tsFiles, jsFiles],
1010
name: "@virtual-live-lab/eslint-config/stylistic",
1111
rules: {
12+
"perfectionist/sort-modules": "off",
1213
"perfectionist/sort-object-types": [
1314
"error",
1415
{

packages/eslint-config/test/__snapshots__/snapshot.test.ts.snap

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2141,6 +2141,13 @@ exports[`Test ESLint config with snapshot > astro preset > matches snapshot 1`]
21412141
"type": "natural",
21422142
},
21432143
],
2144+
"perfectionist/sort-decorators": [
2145+
2,
2146+
{
2147+
"order": "asc",
2148+
"type": "natural",
2149+
},
2150+
],
21442151
"perfectionist/sort-enums": [
21452152
2,
21462153
{
@@ -2155,6 +2162,13 @@ exports[`Test ESLint config with snapshot > astro preset > matches snapshot 1`]
21552162
"type": "natural",
21562163
},
21572164
],
2165+
"perfectionist/sort-heritage-clauses": [
2166+
2,
2167+
{
2168+
"order": "asc",
2169+
"type": "natural",
2170+
},
2171+
],
21582172
"perfectionist/sort-imports": [
21592173
2,
21602174
{
@@ -2190,6 +2204,13 @@ exports[`Test ESLint config with snapshot > astro preset > matches snapshot 1`]
21902204
"type": "natural",
21912205
},
21922206
],
2207+
"perfectionist/sort-modules": [
2208+
0,
2209+
{
2210+
"order": "asc",
2211+
"type": "natural",
2212+
},
2213+
],
21932214
"perfectionist/sort-named-exports": [
21942215
2,
21952216
{
@@ -3082,6 +3103,13 @@ exports[`Test ESLint config with snapshot > js preset > matches snapshot 1`] = `
30823103
"type": "natural",
30833104
},
30843105
],
3106+
"perfectionist/sort-decorators": [
3107+
2,
3108+
{
3109+
"order": "asc",
3110+
"type": "natural",
3111+
},
3112+
],
30853113
"perfectionist/sort-enums": [
30863114
2,
30873115
{
@@ -3096,6 +3124,13 @@ exports[`Test ESLint config with snapshot > js preset > matches snapshot 1`] = `
30963124
"type": "natural",
30973125
},
30983126
],
3127+
"perfectionist/sort-heritage-clauses": [
3128+
2,
3129+
{
3130+
"order": "asc",
3131+
"type": "natural",
3132+
},
3133+
],
30993134
"perfectionist/sort-imports": [
31003135
2,
31013136
{
@@ -3131,6 +3166,13 @@ exports[`Test ESLint config with snapshot > js preset > matches snapshot 1`] = `
31313166
"type": "natural",
31323167
},
31333168
],
3169+
"perfectionist/sort-modules": [
3170+
0,
3171+
{
3172+
"order": "asc",
3173+
"type": "natural",
3174+
},
3175+
],
31343176
"perfectionist/sort-named-exports": [
31353177
2,
31363178
{
@@ -5519,6 +5561,13 @@ exports[`Test ESLint config with snapshot > react preset > matches snapshot 1`]
55195561
"type": "natural",
55205562
},
55215563
],
5564+
"perfectionist/sort-decorators": [
5565+
2,
5566+
{
5567+
"order": "asc",
5568+
"type": "natural",
5569+
},
5570+
],
55225571
"perfectionist/sort-enums": [
55235572
2,
55245573
{
@@ -5533,6 +5582,13 @@ exports[`Test ESLint config with snapshot > react preset > matches snapshot 1`]
55335582
"type": "natural",
55345583
},
55355584
],
5585+
"perfectionist/sort-heritage-clauses": [
5586+
2,
5587+
{
5588+
"order": "asc",
5589+
"type": "natural",
5590+
},
5591+
],
55365592
"perfectionist/sort-imports": [
55375593
2,
55385594
{
@@ -5568,6 +5624,13 @@ exports[`Test ESLint config with snapshot > react preset > matches snapshot 1`]
55685624
"type": "natural",
55695625
},
55705626
],
5627+
"perfectionist/sort-modules": [
5628+
0,
5629+
{
5630+
"order": "asc",
5631+
"type": "natural",
5632+
},
5633+
],
55715634
"perfectionist/sort-named-exports": [
55725635
2,
55735636
{
@@ -6686,6 +6749,13 @@ exports[`Test ESLint config with snapshot > ts preset > matches snapshot 1`] = `
66866749
"type": "natural",
66876750
},
66886751
],
6752+
"perfectionist/sort-decorators": [
6753+
2,
6754+
{
6755+
"order": "asc",
6756+
"type": "natural",
6757+
},
6758+
],
66896759
"perfectionist/sort-enums": [
66906760
2,
66916761
{
@@ -6700,6 +6770,13 @@ exports[`Test ESLint config with snapshot > ts preset > matches snapshot 1`] = `
67006770
"type": "natural",
67016771
},
67026772
],
6773+
"perfectionist/sort-heritage-clauses": [
6774+
2,
6775+
{
6776+
"order": "asc",
6777+
"type": "natural",
6778+
},
6779+
],
67036780
"perfectionist/sort-imports": [
67046781
2,
67056782
{
@@ -6735,6 +6812,13 @@ exports[`Test ESLint config with snapshot > ts preset > matches snapshot 1`] = `
67356812
"type": "natural",
67366813
},
67376814
],
6815+
"perfectionist/sort-modules": [
6816+
0,
6817+
{
6818+
"order": "asc",
6819+
"type": "natural",
6820+
},
6821+
],
67386822
"perfectionist/sort-named-exports": [
67396823
2,
67406824
{

0 commit comments

Comments
 (0)