Skip to content

Commit a35318a

Browse files
Add ignore-scripts to .npmrc
Reviewed-by: Titus Wormer <tituswormer@gmail.com> Closes GH-1.
1 parent 3c038d9 commit a35318a

File tree

2 files changed

+1
-49
lines changed

2 files changed

+1
-49
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
package-lock=false
2+
ignore-scripts=true

test.js

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ test('estree-util-build-jsx', (t) => {
2222
computed: false,
2323
optional: false
2424
},
25-
// @ts-expect-error: TS is wrong.
2625
arguments: [
2726
{
2827
type: 'MemberExpression',
@@ -41,7 +40,6 @@ test('estree-util-build-jsx', (t) => {
4140
computed: false,
4241
optional: false
4342
},
44-
// @ts-expect-error: TS is wrong.
4543
arguments: [{type: 'Literal', value: 'x'}],
4644
optional: false
4745
}
@@ -56,14 +54,12 @@ test('estree-util-build-jsx', (t) => {
5654
{
5755
type: 'CallExpression',
5856
callee: {type: 'Identifier', name: 'a'},
59-
// @ts-expect-error: TS is wrong.
6057
arguments: [
6158
{type: 'Identifier', name: 'b'},
6259
{type: 'Literal', value: null},
6360
{
6461
type: 'CallExpression',
6562
callee: {type: 'Identifier', name: 'a'},
66-
// @ts-expect-error: TS is wrong.
6763
arguments: [{type: 'Literal', value: 'x'}],
6864
optional: false
6965
}
@@ -84,7 +80,6 @@ test('estree-util-build-jsx', (t) => {
8480
computed: true,
8581
optional: false
8682
},
87-
// @ts-expect-error: TS is wrong.
8883
arguments: [{type: 'Literal', value: 'x'}],
8984
optional: false
9085
},
@@ -102,14 +97,12 @@ test('estree-util-build-jsx', (t) => {
10297
{
10398
type: 'CallExpression',
10499
callee: {type: 'Identifier', name: 'a'},
105-
// @ts-expect-error: TS is wrong.
106100
arguments: [
107101
{type: 'Identifier', name: 'b'},
108102
{type: 'Literal', value: null},
109103
{
110104
type: 'CallExpression',
111105
callee: {type: 'Identifier', name: 'a'},
112-
// @ts-expect-error: TS is wrong.
113106
arguments: [{type: 'Literal', value: 'x'}],
114107
optional: false
115108
}
@@ -162,7 +155,6 @@ test('estree-util-build-jsx', (t) => {
162155
computed: false,
163156
optional: false
164157
},
165-
// @ts-expect-error: TS is wrong.
166158
arguments: [
167159
{
168160
type: 'MemberExpression',
@@ -181,7 +173,6 @@ test('estree-util-build-jsx', (t) => {
181173
computed: false,
182174
optional: false
183175
},
184-
// @ts-expect-error: TS is wrong.
185176
arguments: [{type: 'Literal', value: 'x'}],
186177
optional: false
187178
}
@@ -196,7 +187,6 @@ test('estree-util-build-jsx', (t) => {
196187
{
197188
type: 'CallExpression',
198189
callee: {type: 'Identifier', name: 'h'},
199-
// @ts-expect-error: TS is wrong.
200190
arguments: [{type: 'Literal', value: 'a'}],
201191
optional: false
202192
},
@@ -208,7 +198,6 @@ test('estree-util-build-jsx', (t) => {
208198
{
209199
type: 'CallExpression',
210200
callee: {type: 'Identifier', name: 'h'},
211-
// @ts-expect-error: TS is wrong.
212201
arguments: [
213202
{type: 'Literal', value: 'a'},
214203
{type: 'Literal', value: null},
@@ -224,7 +213,6 @@ test('estree-util-build-jsx', (t) => {
224213
{
225214
type: 'CallExpression',
226215
callee: {type: 'Identifier', name: 'h'},
227-
// @ts-expect-error: TS is wrong.
228216
arguments: [
229217
{
230218
type: 'MemberExpression',
@@ -244,7 +232,6 @@ test('estree-util-build-jsx', (t) => {
244232
{
245233
type: 'CallExpression',
246234
callee: {type: 'Identifier', name: 'h'},
247-
// @ts-expect-error: TS is wrong.
248235
arguments: [
249236
{
250237
type: 'MemberExpression',
@@ -270,7 +257,6 @@ test('estree-util-build-jsx', (t) => {
270257
{
271258
type: 'CallExpression',
272259
callee: {type: 'Identifier', name: 'h'},
273-
// @ts-expect-error: TS is wrong.
274260
arguments: [
275261
{
276262
type: 'MemberExpression',
@@ -296,7 +282,6 @@ test('estree-util-build-jsx', (t) => {
296282
{
297283
type: 'CallExpression',
298284
callee: {type: 'Identifier', name: 'h'},
299-
// @ts-expect-error: TS is wrong.
300285
arguments: [
301286
{
302287
type: 'MemberExpression',
@@ -328,7 +313,6 @@ test('estree-util-build-jsx', (t) => {
328313
{
329314
type: 'CallExpression',
330315
callee: {type: 'Identifier', name: 'h'},
331-
// @ts-expect-error: TS is wrong.
332316
arguments: [{type: 'Literal', value: 'a:b'}],
333317
optional: false
334318
},
@@ -340,7 +324,6 @@ test('estree-util-build-jsx', (t) => {
340324
{
341325
type: 'CallExpression',
342326
callee: {type: 'Identifier', name: 'h'},
343-
// @ts-expect-error: TS is wrong.
344327
arguments: [{type: 'Literal', value: 'a-b'}],
345328
optional: false
346329
},
@@ -352,7 +335,6 @@ test('estree-util-build-jsx', (t) => {
352335
{
353336
type: 'CallExpression',
354337
callee: {type: 'Identifier', name: 'h'},
355-
// @ts-expect-error: TS is wrong.
356338
arguments: [{type: 'Identifier', name: 'A'}],
357339
optional: false
358340
},
@@ -364,7 +346,6 @@ test('estree-util-build-jsx', (t) => {
364346
{
365347
type: 'CallExpression',
366348
callee: {type: 'Identifier', name: 'h'},
367-
// @ts-expect-error: TS is wrong.
368349
arguments: [
369350
{type: 'Literal', value: 'a'},
370351
{
@@ -392,7 +373,6 @@ test('estree-util-build-jsx', (t) => {
392373
{
393374
type: 'CallExpression',
394375
callee: {type: 'Identifier', name: 'h'},
395-
// @ts-expect-error: TS is wrong.
396376
arguments: [
397377
{type: 'Literal', value: 'a'},
398378
{
@@ -420,7 +400,6 @@ test('estree-util-build-jsx', (t) => {
420400
{
421401
type: 'CallExpression',
422402
callee: {type: 'Identifier', name: 'h'},
423-
// @ts-expect-error: TS is wrong.
424403
arguments: [
425404
{type: 'Literal', value: 'a'},
426405
{
@@ -448,7 +427,6 @@ test('estree-util-build-jsx', (t) => {
448427
{
449428
type: 'CallExpression',
450429
callee: {type: 'Identifier', name: 'h'},
451-
// @ts-expect-error: TS is wrong.
452430
arguments: [
453431
{type: 'Literal', value: 'a'},
454432
{
@@ -476,7 +454,6 @@ test('estree-util-build-jsx', (t) => {
476454
{
477455
type: 'CallExpression',
478456
callee: {type: 'Identifier', name: 'h'},
479-
// @ts-expect-error: TS is wrong.
480457
arguments: [
481458
{type: 'Literal', value: 'a'},
482459
{
@@ -504,7 +481,6 @@ test('estree-util-build-jsx', (t) => {
504481
{
505482
type: 'CallExpression',
506483
callee: {type: 'Identifier', name: 'h'},
507-
// @ts-expect-error: TS is wrong.
508484
arguments: [
509485
{type: 'Literal', value: 'a'},
510486
{
@@ -534,7 +510,6 @@ test('estree-util-build-jsx', (t) => {
534510
{
535511
type: 'CallExpression',
536512
callee: {type: 'Identifier', name: 'h'},
537-
// @ts-expect-error: TS is wrong.
538513
arguments: [
539514
{type: 'Literal', value: 'a'},
540515
{
@@ -546,7 +521,6 @@ test('estree-util-build-jsx', (t) => {
546521
value: {
547522
type: 'CallExpression',
548523
callee: {type: 'Identifier', name: 'h'},
549-
// @ts-expect-error: TS is wrong.
550524
arguments: [
551525
{type: 'Identifier', name: 'f'},
552526
{type: 'Literal', value: null},
@@ -572,7 +546,6 @@ test('estree-util-build-jsx', (t) => {
572546
{
573547
type: 'CallExpression',
574548
callee: {type: 'Identifier', name: 'h'},
575-
// @ts-expect-error: TS is wrong.
576549
arguments: [
577550
{type: 'Literal', value: 'a'},
578551
{
@@ -584,7 +557,6 @@ test('estree-util-build-jsx', (t) => {
584557
value: {
585558
type: 'CallExpression',
586559
callee: {type: 'Identifier', name: 'h'},
587-
// @ts-expect-error: TS is wrong.
588560
arguments: [{type: 'Literal', value: 'c'}],
589561
optional: false
590562
},
@@ -606,7 +578,6 @@ test('estree-util-build-jsx', (t) => {
606578
{
607579
type: 'CallExpression',
608580
callee: {type: 'Identifier', name: 'h'},
609-
// @ts-expect-error: TS is wrong.
610581
arguments: [
611582
{type: 'Literal', value: 'a'},
612583
{type: 'Identifier', name: 'b'}
@@ -621,7 +592,6 @@ test('estree-util-build-jsx', (t) => {
621592
{
622593
type: 'CallExpression',
623594
callee: {type: 'Identifier', name: 'h'},
624-
// @ts-expect-error: TS is wrong.
625595
arguments: [
626596
{type: 'Literal', value: 'a'},
627597
{
@@ -633,7 +603,6 @@ test('estree-util-build-jsx', (t) => {
633603
computed: false,
634604
optional: false
635605
},
636-
// @ts-expect-error: TS is wrong.
637606
arguments: [
638607
{type: 'ObjectExpression', properties: []},
639608
{type: 'Identifier', name: 'b'},
@@ -665,7 +634,6 @@ test('estree-util-build-jsx', (t) => {
665634
{
666635
type: 'CallExpression',
667636
callee: {type: 'Identifier', name: 'h'},
668-
// @ts-expect-error: TS is wrong.
669637
arguments: [
670638
{type: 'Literal', value: 'a'},
671639
{
@@ -677,7 +645,6 @@ test('estree-util-build-jsx', (t) => {
677645
computed: false,
678646
optional: false
679647
},
680-
// @ts-expect-error: TS is wrong.
681648
arguments: [
682649
{
683650
type: 'ObjectExpression',
@@ -708,7 +675,6 @@ test('estree-util-build-jsx', (t) => {
708675
{
709676
type: 'CallExpression',
710677
callee: {type: 'Identifier', name: 'h'},
711-
// @ts-expect-error: TS is wrong.
712678
arguments: [
713679
{type: 'Literal', value: 'a'},
714680
{
@@ -720,7 +686,6 @@ test('estree-util-build-jsx', (t) => {
720686
computed: false,
721687
optional: false
722688
},
723-
// @ts-expect-error: TS is wrong.
724689
arguments: [
725690
{type: 'ObjectExpression', properties: []},
726691
{type: 'Identifier', name: 'b'},
@@ -739,7 +704,6 @@ test('estree-util-build-jsx', (t) => {
739704
{
740705
type: 'CallExpression',
741706
callee: {type: 'Identifier', name: 'h'},
742-
// @ts-expect-error: TS is wrong.
743707
arguments: [
744708
{type: 'Literal', value: 'a'},
745709
{
@@ -777,7 +741,6 @@ test('estree-util-build-jsx', (t) => {
777741
{
778742
type: 'CallExpression',
779743
callee: {type: 'Identifier', name: 'h'},
780-
// @ts-expect-error: TS is wrong.
781744
arguments: [
782745
{type: 'Literal', value: 'a'},
783746
{type: 'Literal', value: null},
@@ -793,7 +756,6 @@ test('estree-util-build-jsx', (t) => {
793756
{
794757
type: 'CallExpression',
795758
callee: {type: 'Identifier', name: 'h'},
796-
// @ts-expect-error: TS is wrong.
797759
arguments: [{type: 'Literal', value: 'a'}],
798760
optional: false
799761
},
@@ -805,7 +767,6 @@ test('estree-util-build-jsx', (t) => {
805767
{
806768
type: 'CallExpression',
807769
callee: {type: 'Identifier', name: 'h'},
808-
// @ts-expect-error: TS is wrong.
809770
arguments: [
810771
{type: 'Literal', value: 'a'},
811772
{type: 'Literal', value: null},
@@ -821,7 +782,6 @@ test('estree-util-build-jsx', (t) => {
821782
{
822783
type: 'CallExpression',
823784
callee: {type: 'Identifier', name: 'h'},
824-
// @ts-expect-error: TS is wrong.
825785
arguments: [
826786
{type: 'Literal', value: 'a'},
827787
{type: 'Literal', value: null},
@@ -837,7 +797,6 @@ test('estree-util-build-jsx', (t) => {
837797
{
838798
type: 'CallExpression',
839799
callee: {type: 'Identifier', name: 'h'},
840-
// @ts-expect-error: TS is wrong.
841800
arguments: [
842801
{type: 'Literal', value: 'a'},
843802
{type: 'Literal', value: null},
@@ -853,7 +812,6 @@ test('estree-util-build-jsx', (t) => {
853812
{
854813
type: 'CallExpression',
855814
callee: {type: 'Identifier', name: 'h'},
856-
// @ts-expect-error: TS is wrong.
857815
arguments: [
858816
{type: 'Literal', value: 'a'},
859817
{type: 'Literal', value: null},
@@ -869,7 +827,6 @@ test('estree-util-build-jsx', (t) => {
869827
{
870828
type: 'CallExpression',
871829
callee: {type: 'Identifier', name: 'h'},
872-
// @ts-expect-error: TS is wrong.
873830
arguments: [
874831
{type: 'Literal', value: 'a'},
875832
{type: 'Literal', value: null},
@@ -885,7 +842,6 @@ test('estree-util-build-jsx', (t) => {
885842
{
886843
type: 'CallExpression',
887844
callee: {type: 'Identifier', name: 'h'},
888-
// @ts-expect-error: TS is wrong.
889845
arguments: [{type: 'Literal', value: 'a'}],
890846
optional: false
891847
},
@@ -949,7 +905,6 @@ test('estree-util-build-jsx', (t) => {
949905
computed: false,
950906
optional: false
951907
},
952-
// @ts-expect-error: TS is wrong.
953908
arguments: [
954909
{
955910
type: 'MemberExpression',
@@ -968,7 +923,6 @@ test('estree-util-build-jsx', (t) => {
968923
computed: false,
969924
optional: false
970925
},
971-
// @ts-expect-error: TS is wrong.
972926
arguments: [
973927
{
974928
type: 'Literal',
@@ -990,7 +944,6 @@ test('estree-util-build-jsx', (t) => {
990944
computed: false,
991945
optional: false
992946
},
993-
// @ts-expect-error: TS is wrong.
994947
arguments: [
995948
{
996949
type: 'ObjectExpression',
@@ -1158,7 +1111,6 @@ test('estree-util-build-jsx', (t) => {
11581111
computed: false,
11591112
optional: false
11601113
},
1161-
// @ts-expect-error: TS is wrong.
11621114
arguments: [
11631115
{
11641116
type: 'MemberExpression',
@@ -1177,7 +1129,6 @@ test('estree-util-build-jsx', (t) => {
11771129
computed: false,
11781130
optional: false
11791131
},
1180-
// @ts-expect-error: TS is wrong.
11811132
arguments: [{type: 'Literal', value: 'x'}],
11821133
optional: false
11831134
}

0 commit comments

Comments
 (0)