Skip to content

Commit 184dc09

Browse files
authoredAug 19, 2021
Add test for ESLint v8 (#122)
* Add test for ESLint v8 * fix * fix * fix * fix * fix babel * fix * fix test * fix * fix * fix * fix * fix * fix
1 parent 36f1766 commit 184dc09

File tree

51 files changed

+1227
-209
lines changed

Some content is hidden

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

51 files changed

+1227
-209
lines changed
 

‎.github/workflows/CI.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
name: Test
3030
strategy:
3131
matrix:
32-
eslint: [7]
33-
node: [14]
32+
eslint: [7, '8.0.0-0']
33+
node: [14, 16]
3434
os: [ubuntu-latest]
3535
include:
3636
# On other platforms

‎package.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
"semver": "^6.3.0"
2323
},
2424
"devDependencies": {
25+
"@babel/core": "^7.15.0",
26+
"@babel/eslint-parser": "^7.15.0",
27+
"@babel/plugin-syntax-decorators": "^7.14.5",
28+
"@babel/plugin-syntax-pipeline-operator": "^7.15.0",
29+
"@babel/plugin-syntax-typescript": "^7.14.5",
2530
"@mysticatea/eslint-plugin": "^13.0.0",
2631
"@types/debug": "0.0.30",
2732
"@types/eslint": "^7.2.6",
@@ -67,7 +72,7 @@
6772
"pretest": "run-s build lint",
6873
"test": "npm run -s test:mocha",
6974
"test:mocha": "nyc mocha \"test/*.js\" --reporter dot --timeout 60000",
70-
"test:debug": "mocha --inspect --require ts-node/register/transpile-only \"test/*.js\" --reporter dot --timeout 60000",
75+
"test:debug": "mocha --require ts-node/register/transpile-only \"test/*.js\" --reporter dot --timeout 60000",
7176
"preupdate-fixtures": "npm run -s build",
7277
"update-fixtures": "node scripts/update-fixtures-ast.js && node scripts/update-fixtures-document-fragment.js",
7378
"preversion": "npm test",

0 commit comments

Comments
 (0)
Please sign in to comment.