Skip to content

Commit 1f286fa

Browse files
chore: Updated snapshots changes.
1 parent b791cb4 commit 1f286fa

File tree

6 files changed

+114
-5
lines changed

6 files changed

+114
-5
lines changed

packages/eslint-plugin/src/configs/base.spec.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ it('extends dependencies', async () => {
2727
"@babel/semi": [
2828
"off",
2929
],
30+
"@typescript-eslint/block-spacing": [
31+
"off",
32+
],
3033
"@typescript-eslint/brace-style": [
3134
"off",
3235
],
@@ -42,9 +45,15 @@ it('extends dependencies', async () => {
4245
"@typescript-eslint/indent": [
4346
"off",
4447
],
48+
"@typescript-eslint/key-spacing": [
49+
"off",
50+
],
4551
"@typescript-eslint/keyword-spacing": [
4652
"off",
4753
],
54+
"@typescript-eslint/lines-around-comment": [
55+
0,
56+
],
4857
"@typescript-eslint/member-delimiter-style": [
4958
"off",
5059
],
@@ -63,6 +72,9 @@ it('extends dependencies', async () => {
6372
"@typescript-eslint/semi": [
6473
"off",
6574
],
75+
"@typescript-eslint/space-before-blocks": [
76+
"off",
77+
],
6678
"@typescript-eslint/space-before-function-paren": [
6779
"off",
6880
],
@@ -301,6 +313,9 @@ it('extends dependencies', async () => {
301313
"max-len": [
302314
0,
303315
],
316+
"max-statements-per-line": [
317+
"off",
318+
],
304319
"multiline-ternary": [
305320
"off",
306321
],
@@ -1051,6 +1066,9 @@ it('extends dependencies', async () => {
10511066
"vue/array-bracket-spacing": [
10521067
"off",
10531068
],
1069+
"vue/array-element-newline": [
1070+
"off",
1071+
],
10541072
"vue/arrow-spacing": [
10551073
"off",
10561074
],
@@ -1111,6 +1129,9 @@ it('extends dependencies', async () => {
11111129
"vue/multiline-html-element-content-newline": [
11121130
"off",
11131131
],
1132+
"vue/multiline-ternary": [
1133+
"off",
1134+
],
11141135
"vue/mustache-interpolation-spacing": [
11151136
"off",
11161137
],
@@ -1135,6 +1156,9 @@ it('extends dependencies', async () => {
11351156
"vue/operator-linebreak": [
11361157
"off",
11371158
],
1159+
"vue/quote-props": [
1160+
"off",
1161+
],
11381162
"vue/script-indent": [
11391163
"off",
11401164
],

packages/eslint-plugin/src/configs/react.spec.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ it('extends dependencies', async () => {
3535
"@superdispatch/jsx-no-spread-object-expression": [
3636
"error",
3737
],
38+
"@typescript-eslint/block-spacing": [
39+
"off",
40+
],
3841
"@typescript-eslint/brace-style": [
3942
"off",
4043
],
@@ -50,9 +53,15 @@ it('extends dependencies', async () => {
5053
"@typescript-eslint/indent": [
5154
"off",
5255
],
56+
"@typescript-eslint/key-spacing": [
57+
"off",
58+
],
5359
"@typescript-eslint/keyword-spacing": [
5460
"off",
5561
],
62+
"@typescript-eslint/lines-around-comment": [
63+
0,
64+
],
5665
"@typescript-eslint/member-delimiter-style": [
5766
"off",
5867
],
@@ -71,6 +80,9 @@ it('extends dependencies', async () => {
7180
"@typescript-eslint/semi": [
7281
"off",
7382
],
83+
"@typescript-eslint/space-before-blocks": [
84+
"off",
85+
],
7486
"@typescript-eslint/space-before-function-paren": [
7587
"off",
7688
],
@@ -242,6 +254,9 @@ it('extends dependencies', async () => {
242254
"max-len": [
243255
0,
244256
],
257+
"max-statements-per-line": [
258+
"off",
259+
],
245260
"multiline-ternary": [
246261
"off",
247262
],
@@ -557,6 +572,9 @@ it('extends dependencies', async () => {
557572
"vue/array-bracket-spacing": [
558573
"off",
559574
],
575+
"vue/array-element-newline": [
576+
"off",
577+
],
560578
"vue/arrow-spacing": [
561579
"off",
562580
],
@@ -617,6 +635,9 @@ it('extends dependencies', async () => {
617635
"vue/multiline-html-element-content-newline": [
618636
"off",
619637
],
638+
"vue/multiline-ternary": [
639+
"off",
640+
],
620641
"vue/mustache-interpolation-spacing": [
621642
"off",
622643
],
@@ -641,6 +662,9 @@ it('extends dependencies', async () => {
641662
"vue/operator-linebreak": [
642663
"off",
643664
],
665+
"vue/quote-props": [
666+
"off",
667+
],
644668
"vue/script-indent": [
645669
"off",
646670
],

packages/eslint-plugin/src/configs/ts-cypress.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ it('extends dependencies', async () => {
5555
+ ],
5656
+ "cypress/no-unnecessary-waiting": Array [
5757
+ "error",
58+
+ ],
59+
+ "cypress/unsafe-to-chain-command": Array [
60+
+ "error",
5861
+ ],
5962
"dot-location": Array [
6063
"off",

packages/eslint-plugin/src/configs/ts-jest.spec.ts

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,13 @@ test('diff with jest', async () => {
4343
+ "settings": Object {
4444
+ "import/extensions": Array [
4545
+ ".ts",
46+
+ ".cts",
47+
+ ".mts",
4648
+ ".tsx",
4749
+ ".js",
4850
+ ".jsx",
51+
+ ".mjs",
52+
+ ".cjs",
4953
+ ],
5054
+ "import/external-module-folders": Array [
5155
+ "node_modules",
@@ -54,16 +58,22 @@ test('diff with jest', async () => {
5458
+ "import/parsers": Object {
5559
+ "@typescript-eslint/parser": Array [
5660
+ ".ts",
61+
+ ".cts",
62+
+ ".mts",
5763
+ ".tsx",
5864
+ ],
5965
+ },
6066
+ "import/resolver": Object {
6167
+ "node": Object {
6268
+ "extensions": Array [
6369
+ ".ts",
70+
+ ".cts",
71+
+ ".mts",
6472
+ ".tsx",
6573
+ ".js",
6674
+ ".jsx",
75+
+ ".mjs",
76+
+ ".cjs",
6777
+ ],
6878
+ },
6979
+ },
@@ -96,6 +106,9 @@ test('diff with jest', async () => {
96106
+ "@typescript-eslint/ban-types": Array [
97107
+ "error",
98108
+ ],
109+
"@typescript-eslint/block-spacing": Array [
110+
"off",
111+
],
99112
"@typescript-eslint/brace-style": Array [
100113
"off",
101114
],
@@ -137,9 +150,13 @@ test('diff with jest', async () => {
137150
+ "@typescript-eslint/interface-name-prefix": Array [
138151
"off",
139152
],
140-
"@typescript-eslint/keyword-spacing": Array [
153+
"@typescript-eslint/key-spacing": Array [
141154
"off",
142155
],
156+
@@ --- --- @@
157+
"@typescript-eslint/lines-around-comment": Array [
158+
0,
159+
],
143160
"@typescript-eslint/member-delimiter-style": Array [
144161
"off",
145162
+ ],
@@ -336,7 +353,9 @@ test('diff with jest', async () => {
336353
"@typescript-eslint/semi": Array [
337354
"off",
338355
],
339-
"@typescript-eslint/space-before-function-paren": Array [
356+
"@typescript-eslint/space-before-blocks": Array [
357+
"off",
358+
@@ --- --- @@
340359
"off",
341360
],
342361
"@typescript-eslint/space-infix-ops": Array [

packages/eslint-plugin/src/configs/ts-node.spec.ts

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,13 @@ it('extends dependencies', async () => {
4141
+ "settings": Object {
4242
+ "import/extensions": Array [
4343
+ ".ts",
44+
+ ".cts",
45+
+ ".mts",
4446
+ ".tsx",
4547
+ ".js",
4648
+ ".jsx",
49+
+ ".mjs",
50+
+ ".cjs",
4751
+ ],
4852
+ "import/external-module-folders": Array [
4953
+ "node_modules",
@@ -52,16 +56,22 @@ it('extends dependencies', async () => {
5256
+ "import/parsers": Object {
5357
+ "@typescript-eslint/parser": Array [
5458
+ ".ts",
59+
+ ".cts",
60+
+ ".mts",
5561
+ ".tsx",
5662
+ ],
5763
+ },
5864
+ "import/resolver": Object {
5965
+ "node": Object {
6066
+ "extensions": Array [
6167
+ ".ts",
68+
+ ".cts",
69+
+ ".mts",
6270
+ ".tsx",
6371
+ ".js",
6472
+ ".jsx",
73+
+ ".mjs",
74+
+ ".cjs",
6575
+ ],
6676
+ },
6777
+ },
@@ -94,6 +104,9 @@ it('extends dependencies', async () => {
94104
+ "@typescript-eslint/ban-types": Array [
95105
+ "error",
96106
+ ],
107+
"@typescript-eslint/block-spacing": Array [
108+
"off",
109+
],
97110
"@typescript-eslint/brace-style": Array [
98111
+ "off",
99112
+ ],
@@ -135,9 +148,13 @@ it('extends dependencies', async () => {
135148
+ "@typescript-eslint/interface-name-prefix": Array [
136149
"off",
137150
],
138-
"@typescript-eslint/keyword-spacing": Array [
151+
"@typescript-eslint/key-spacing": Array [
139152
"off",
140153
],
154+
@@ --- --- @@
155+
"@typescript-eslint/lines-around-comment": Array [
156+
0,
157+
],
141158
"@typescript-eslint/member-delimiter-style": Array [
142159
"off",
143160
+ ],
@@ -337,7 +354,9 @@ it('extends dependencies', async () => {
337354
"@typescript-eslint/semi": Array [
338355
"off",
339356
],
340-
"@typescript-eslint/space-before-function-paren": Array [
357+
"@typescript-eslint/space-before-blocks": Array [
358+
"off",
359+
@@ --- --- @@
341360
"off",
342361
],
343362
"@typescript-eslint/space-infix-ops": Array [

packages/eslint-plugin/src/configs/typescript.spec.ts

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,13 @@ it('extends dependencies', async () => {
3939
+ "settings": Object {
4040
+ "import/extensions": Array [
4141
+ ".ts",
42+
+ ".cts",
43+
+ ".mts",
4244
+ ".tsx",
4345
+ ".js",
4446
+ ".jsx",
47+
+ ".mjs",
48+
+ ".cjs",
4549
+ ],
4650
+ "import/external-module-folders": Array [
4751
+ "node_modules",
@@ -50,16 +54,22 @@ it('extends dependencies', async () => {
5054
+ "import/parsers": Object {
5155
+ "@typescript-eslint/parser": Array [
5256
+ ".ts",
57+
+ ".cts",
58+
+ ".mts",
5359
+ ".tsx",
5460
+ ],
5561
+ },
5662
+ "import/resolver": Object {
5763
+ "node": Object {
5864
+ "extensions": Array [
5965
+ ".ts",
66+
+ ".cts",
67+
+ ".mts",
6068
+ ".tsx",
6169
+ ".js",
6270
+ ".jsx",
71+
+ ".mjs",
72+
+ ".cjs",
6373
+ ],
6474
+ },
6575
+ },
@@ -92,6 +102,9 @@ it('extends dependencies', async () => {
92102
+ "@typescript-eslint/ban-types": Array [
93103
+ "error",
94104
+ ],
105+
"@typescript-eslint/block-spacing": Array [
106+
"off",
107+
],
95108
"@typescript-eslint/brace-style": Array [
96109
"off",
97110
],
@@ -133,9 +146,13 @@ it('extends dependencies', async () => {
133146
+ "@typescript-eslint/interface-name-prefix": Array [
134147
"off",
135148
],
136-
"@typescript-eslint/keyword-spacing": Array [
149+
"@typescript-eslint/key-spacing": Array [
137150
"off",
138151
],
152+
@@ --- --- @@
153+
"@typescript-eslint/lines-around-comment": Array [
154+
0,
155+
],
139156
"@typescript-eslint/member-delimiter-style": Array [
140157
"off",
141158
+ ],
@@ -335,6 +352,9 @@ it('extends dependencies', async () => {
335352
"@typescript-eslint/semi": Array [
336353
"off",
337354
],
355+
"@typescript-eslint/space-before-blocks": Array [
356+
"off",
357+
@@ --- --- @@
338358
"@typescript-eslint/space-before-function-paren": Array [
339359
"off",
340360
],

0 commit comments

Comments
 (0)