Skip to content

Commit 42e563c

Browse files
authored
Fix broken CI (#242)
* Fix broken CI * update
1 parent c1c5e01 commit 42e563c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ module.exports = {
1414
],
1515
plugins: ['@typescript-eslint'],
1616
parserOptions: {
17-
ecmaVersion: 2015
17+
ecmaVersion: 2020,
18+
parser: 'espree'
1819
},
1920
rules: {
2021
'object-shorthand': 'error',

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
strategy:
5353
matrix:
5454
os: [ubuntu-latest]
55-
eslint: [5, 6, ^8.0.0-0]
55+
eslint: [5, 6, 8]
5656
node: [14]
5757
steps:
5858
- name: Checkout
@@ -63,5 +63,8 @@ jobs:
6363
node-version: ${{ matrix.node }}
6464
- name: Install
6565
run: yarn add eslint@${{ matrix.eslint }}
66+
- name: Install ts-eslint v5
67+
run: yarn add @typescript-eslint/parser@5 @typescript-eslint/eslint-plugin@5
68+
if: matrix.eslint == 8
6669
- name: Test
6770
run: yarn test

0 commit comments

Comments
 (0)