diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6a5cace7..8ac76eaa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,8 +16,8 @@ jobs: - name: Install NPM v6 (latest installs all packages) run: npm install -g npm@6 - - name: Install ESLint - run: npm install -g eslint + - name: Install ESLint v8 + run: npm install -g eslint@8 - name: Install ESLint Configs and Plugins run: npm install eslint-config-amber eslint-plugin-json diff --git a/package.json b/package.json index 5abcb550..d86eb17e 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "private": true, "scripts": { "test": "npm run lint", - "lint": "eslint .", + "lint": "eslint . --ext .js --ext .json", "start": "node Xiao.js" }, "repository": {