Skip to content

Commit 88539f6

Browse files
authored
Change to use eslint v8 in some test cases. (#133)
1 parent db2d945 commit 88539f6

File tree

66 files changed

+84
-84
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+84
-84
lines changed

test/fixtures/ast/end-of-line01/ast.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Program",
3-
"start": 191,
4-
"end": 204,
3+
"start": 192,
4+
"end": 203,
55
"loc": {
66
"start": {
77
"line": 16,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/end-of-line02/ast.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Program",
3-
"start": 8,
4-
"end": 21,
3+
"start": 9,
4+
"end": 20,
55
"loc": {
66
"start": {
77
"line": 2,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/multiple-scripts-10/ast.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "Program",
3-
"start": 8,
3+
"start": 9,
44
"end": 57,
55
"loc": {
66
"start": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/multiple-scripts-2/ast.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "Program",
3-
"start": 8,
3+
"start": 9,
44
"end": 106,
55
"loc": {
66
"start": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/multiple-scripts-3/ast.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "Program",
3-
"start": 8,
3+
"start": 9,
44
"end": 91,
55
"loc": {
66
"start": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/multiple-scripts-4/ast.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Program",
3-
"start": 8,
4-
"end": 18,
3+
"start": 9,
4+
"end": 17,
55
"loc": {
66
"start": {
77
"line": 2,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/multiple-scripts-5/ast.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "Program",
3-
"start": 8,
3+
"start": 9,
44
"end": 145,
55
"loc": {
66
"start": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/multiple-scripts-6/ast.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "Program",
3-
"start": 47,
3+
"start": 48,
44
"end": 98,
55
"loc": {
66
"start": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/multiple-scripts-7/ast.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "Program",
3-
"start": 8,
3+
"start": 9,
44
"end": 178,
55
"loc": {
66
"start": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/multiple-scripts-8/ast.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "Program",
3-
"start": 8,
3+
"start": 20,
44
"end": 340,
55
"loc": {
66
"start": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/multiple-scripts-9/ast.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "Program",
3-
"start": 30,
3+
"start": 31,
44
"end": 48,
55
"loc": {
66
"start": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/multiple-scripts-with-export01/ast.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "Program",
3-
"start": 8,
3+
"start": 9,
44
"end": 75,
55
"loc": {
66
"start": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/multiple-scripts-with-export02/ast.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "Program",
3-
"start": 8,
3+
"start": 9,
44
"end": 262,
55
"loc": {
66
"start": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/multiple-scripts-with-export03/ast.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "Program",
3-
"start": 8,
3+
"start": 9,
44
"end": 241,
55
"loc": {
66
"start": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/multiple-scripts-with-export04/ast.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "Program",
3-
"start": 8,
3+
"start": 9,
44
"end": 178,
55
"loc": {
66
"start": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/multiple-scripts/ast.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "Program",
3-
"start": 8,
3+
"start": 9,
44
"end": 99,
55
"loc": {
66
"start": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/parser-option-multiple-parsers-2/ast.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Program",
3-
"start": 47,
4-
"end": 60,
3+
"start": 50,
4+
"end": 59,
55
"loc": {
66
"start": {
77
"line": 5,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/script-setup-example01/ast.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Program",
3-
"start": 14,
4-
"end": 312,
3+
"start": 79,
4+
"end": 311,
55
"loc": {
66
"start": {
77
"line": 3,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/script-setup-example02/ast.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Program",
3-
"start": 14,
4-
"end": 170,
3+
"start": 44,
4+
"end": 169,
55
"loc": {
66
"start": {
77
"line": 3,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/script-setup-example04/ast.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Program",
3-
"start": 14,
4-
"end": 38,
3+
"start": 17,
4+
"end": 37,
55
"loc": {
66
"start": {
77
"line": 2,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/script-setup-example05/ast.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Program",
3-
"start": 14,
4-
"end": 91,
3+
"start": 17,
4+
"end": 90,
55
"loc": {
66
"start": {
77
"line": 2,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/script-setup-example06/ast.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Program",
3-
"start": 14,
4-
"end": 75,
3+
"start": 17,
4+
"end": 74,
55
"loc": {
66
"start": {
77
"line": 2,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/script-setup-example07/ast.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Program",
3-
"start": 14,
4-
"end": 78,
3+
"start": 17,
4+
"end": 77,
55
"loc": {
66
"start": {
77
"line": 2,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/script-setup-example08/ast.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Program",
3-
"start": 14,
4-
"end": 133,
3+
"start": 17,
4+
"end": 116,
55
"loc": {
66
"start": {
77
"line": 2,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/script-setup-example09/ast.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Program",
3-
"start": 14,
4-
"end": 113,
3+
"start": 17,
4+
"end": 112,
55
"loc": {
66
"start": {
77
"line": 2,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/script-setup-example13/ast.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "Program",
3-
"start": 14,
4-
"end": 72,
3+
"start": 15,
4+
"end": 71,
55
"loc": {
66
"start": {
77
"line": 2,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"eslint": "<8"
2+
"eslint": ">=8"
33
}

test/fixtures/ast/script-setup-example14/ast.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "Program",
3-
"start": 8,
3+
"start": 11,
44
"end": 168,
55
"loc": {
66
"start": {

0 commit comments

Comments
 (0)