Skip to content

Commit 14d43c4

Browse files
renovate[bot]renovate-botota-meshi
authored
Update dependency eslint to v8 (#53)
* Update dependency eslint to v8 * update ci * update ci * update Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Yosuke Ota <[email protected]>
1 parent 03b32a7 commit 14d43c4

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/workflows/NodeCI.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
run: npm install
1919
- name: Lint
2020
run: npm run lint
21-
test-for-eslint7:
21+
test-for-node10:
2222
name: "Test for ESLint ${{ matrix.eslint }} on ${{ matrix.node }} OS: ${{matrix.os}}"
2323
runs-on: ${{ matrix.os }}
2424
strategy:
2525
matrix:
2626
os: [ubuntu-latest]
27-
node: [10, 12, 14, 16]
27+
node: [10]
2828
eslint: [7]
2929
steps:
3030
- uses: actions/checkout@v2
@@ -36,19 +36,18 @@ jobs:
3636
run: |+
3737
npm i -D eslint@${{ matrix.eslint }} --legacy-peer-deps
3838
npx rimraf node_modules
39-
if: matrix.eslint != 7
4039
- name: Install Packages
4140
run: npm install --legacy-peer-deps
4241
- name: Test
4342
run: npm test
44-
test-for-eslint8:
43+
test:
4544
name: "Test for ESLint ${{ matrix.eslint }} on ${{ matrix.node }} OS: ${{matrix.os}}"
4645
runs-on: ${{ matrix.os }}
4746
strategy:
4847
matrix:
4948
os: [ubuntu-latest]
50-
eslint: [^8.0.0-0]
51-
node: [14, 16]
49+
eslint: [7, 8]
50+
node: [12, 14, 16]
5251
steps:
5352
- name: Checkout
5453
uses: actions/checkout@v2
@@ -60,8 +59,8 @@ jobs:
6059
run: |+
6160
npm i -D eslint@${{ matrix.eslint }} --legacy-peer-deps
6261
npx rimraf node_modules
63-
if: matrix.eslint != 7
62+
if: matrix.eslint != 8
6463
- name: Install Packages
6564
run: npm install --legacy-peer-deps
6665
- name: Test
67-
run: yarn test
66+
run: npm test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"@typescript-eslint/parser": "^5.0.0-0",
7272
"@typescript-eslint/parser-v4": "npm:@typescript-eslint/parser@5",
7373
"env-cmd": "^10.1.0",
74-
"eslint": "^7.25.0",
74+
"eslint": "^8.0.0",
7575
"eslint-config-prettier": "^8.3.0",
7676
"eslint-plugin-eslint-comments": "^3.2.0",
7777
"eslint-plugin-eslint-plugin": "^3.0.2",

0 commit comments

Comments
 (0)