Skip to content

Commit

Permalink
Add ignore-scripts to .npmrc
Browse files Browse the repository at this point in the history
Reviewed-by: Titus Wormer <tituswormer@gmail.com>

Closes GH-1.
  • Loading branch information
ChristianMurphy authored Mar 4, 2022
1 parent 3c038d9 commit a35318a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 49 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
package-lock=false
ignore-scripts=true
49 changes: 0 additions & 49 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ test('estree-util-build-jsx', (t) => {
computed: false,
optional: false
},
// @ts-expect-error: TS is wrong.
arguments: [
{
type: 'MemberExpression',
Expand All @@ -41,7 +40,6 @@ test('estree-util-build-jsx', (t) => {
computed: false,
optional: false
},
// @ts-expect-error: TS is wrong.
arguments: [{type: 'Literal', value: 'x'}],
optional: false
}
Expand All @@ -56,14 +54,12 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'a'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Identifier', name: 'b'},
{type: 'Literal', value: null},
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'a'},
// @ts-expect-error: TS is wrong.
arguments: [{type: 'Literal', value: 'x'}],
optional: false
}
Expand All @@ -84,7 +80,6 @@ test('estree-util-build-jsx', (t) => {
computed: true,
optional: false
},
// @ts-expect-error: TS is wrong.
arguments: [{type: 'Literal', value: 'x'}],
optional: false
},
Expand All @@ -102,14 +97,12 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'a'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Identifier', name: 'b'},
{type: 'Literal', value: null},
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'a'},
// @ts-expect-error: TS is wrong.
arguments: [{type: 'Literal', value: 'x'}],
optional: false
}
Expand Down Expand Up @@ -162,7 +155,6 @@ test('estree-util-build-jsx', (t) => {
computed: false,
optional: false
},
// @ts-expect-error: TS is wrong.
arguments: [
{
type: 'MemberExpression',
Expand All @@ -181,7 +173,6 @@ test('estree-util-build-jsx', (t) => {
computed: false,
optional: false
},
// @ts-expect-error: TS is wrong.
arguments: [{type: 'Literal', value: 'x'}],
optional: false
}
Expand All @@ -196,7 +187,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [{type: 'Literal', value: 'a'}],
optional: false
},
Expand All @@ -208,7 +198,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{type: 'Literal', value: null},
Expand All @@ -224,7 +213,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{
type: 'MemberExpression',
Expand All @@ -244,7 +232,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{
type: 'MemberExpression',
Expand All @@ -270,7 +257,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{
type: 'MemberExpression',
Expand All @@ -296,7 +282,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{
type: 'MemberExpression',
Expand Down Expand Up @@ -328,7 +313,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [{type: 'Literal', value: 'a:b'}],
optional: false
},
Expand All @@ -340,7 +324,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [{type: 'Literal', value: 'a-b'}],
optional: false
},
Expand All @@ -352,7 +335,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [{type: 'Identifier', name: 'A'}],
optional: false
},
Expand All @@ -364,7 +346,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{
Expand Down Expand Up @@ -392,7 +373,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{
Expand Down Expand Up @@ -420,7 +400,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{
Expand Down Expand Up @@ -448,7 +427,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{
Expand Down Expand Up @@ -476,7 +454,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{
Expand Down Expand Up @@ -504,7 +481,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{
Expand Down Expand Up @@ -534,7 +510,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{
Expand All @@ -546,7 +521,6 @@ test('estree-util-build-jsx', (t) => {
value: {
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Identifier', name: 'f'},
{type: 'Literal', value: null},
Expand All @@ -572,7 +546,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{
Expand All @@ -584,7 +557,6 @@ test('estree-util-build-jsx', (t) => {
value: {
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [{type: 'Literal', value: 'c'}],
optional: false
},
Expand All @@ -606,7 +578,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{type: 'Identifier', name: 'b'}
Expand All @@ -621,7 +592,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{
Expand All @@ -633,7 +603,6 @@ test('estree-util-build-jsx', (t) => {
computed: false,
optional: false
},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'ObjectExpression', properties: []},
{type: 'Identifier', name: 'b'},
Expand Down Expand Up @@ -665,7 +634,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{
Expand All @@ -677,7 +645,6 @@ test('estree-util-build-jsx', (t) => {
computed: false,
optional: false
},
// @ts-expect-error: TS is wrong.
arguments: [
{
type: 'ObjectExpression',
Expand Down Expand Up @@ -708,7 +675,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{
Expand All @@ -720,7 +686,6 @@ test('estree-util-build-jsx', (t) => {
computed: false,
optional: false
},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'ObjectExpression', properties: []},
{type: 'Identifier', name: 'b'},
Expand All @@ -739,7 +704,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{
Expand Down Expand Up @@ -777,7 +741,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{type: 'Literal', value: null},
Expand All @@ -793,7 +756,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [{type: 'Literal', value: 'a'}],
optional: false
},
Expand All @@ -805,7 +767,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{type: 'Literal', value: null},
Expand All @@ -821,7 +782,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{type: 'Literal', value: null},
Expand All @@ -837,7 +797,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{type: 'Literal', value: null},
Expand All @@ -853,7 +812,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{type: 'Literal', value: null},
Expand All @@ -869,7 +827,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [
{type: 'Literal', value: 'a'},
{type: 'Literal', value: null},
Expand All @@ -885,7 +842,6 @@ test('estree-util-build-jsx', (t) => {
{
type: 'CallExpression',
callee: {type: 'Identifier', name: 'h'},
// @ts-expect-error: TS is wrong.
arguments: [{type: 'Literal', value: 'a'}],
optional: false
},
Expand Down Expand Up @@ -949,7 +905,6 @@ test('estree-util-build-jsx', (t) => {
computed: false,
optional: false
},
// @ts-expect-error: TS is wrong.
arguments: [
{
type: 'MemberExpression',
Expand All @@ -968,7 +923,6 @@ test('estree-util-build-jsx', (t) => {
computed: false,
optional: false
},
// @ts-expect-error: TS is wrong.
arguments: [
{
type: 'Literal',
Expand All @@ -990,7 +944,6 @@ test('estree-util-build-jsx', (t) => {
computed: false,
optional: false
},
// @ts-expect-error: TS is wrong.
arguments: [
{
type: 'ObjectExpression',
Expand Down Expand Up @@ -1158,7 +1111,6 @@ test('estree-util-build-jsx', (t) => {
computed: false,
optional: false
},
// @ts-expect-error: TS is wrong.
arguments: [
{
type: 'MemberExpression',
Expand All @@ -1177,7 +1129,6 @@ test('estree-util-build-jsx', (t) => {
computed: false,
optional: false
},
// @ts-expect-error: TS is wrong.
arguments: [{type: 'Literal', value: 'x'}],
optional: false
}
Expand Down

0 comments on commit a35318a

Please sign in to comment.