From cabcecad27ae1dd4457d43f8c7ff179886fcd247 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Fri, 24 Sep 2021 16:21:58 +0800 Subject: [PATCH] Build: test on eslint v8 --- .github/workflows/main.yml | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 750bd978..cc3fbdef 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,8 @@ jobs: - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - - run: npm install + # TODO: remove "--force" once eslint v8 released + - run: npm install --force - run: npm test lint: diff --git a/package.json b/package.json index b15172fc..9ea9d465 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "@not-an-aardvark/node-release-script": "^0.1.0", "chai": "^4.1.0", "dirty-chai": "^2.0.1", - "eslint": "^7.9.0", + "eslint": "8.0.0-beta.2", "eslint-config-not-an-aardvark": "^2.1.0", "eslint-plugin-markdown": "^2.0.1", "eslint-plugin-node": "^11.1.0",