diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 67ad493..9e8b6a8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,9 +14,7 @@ jobs: node-version: ${{ matrix.node }} - name: Use ESLint ${{ matrix.eslint }} run: npm install eslint@${{ matrix.eslint }} - continue-on-error: ${{ matrix.eslint == '8' }} - run: | npm install --silent npm run lint npm run test - continue-on-error: ${{ matrix.eslint == '8' }} diff --git a/package.json b/package.json index affcdb1..6a912e7 100644 --- a/package.json +++ b/package.json @@ -19,16 +19,16 @@ }, "homepage": "https://github.com/moneyforward/eslint-config-moneyforward#readme", "dependencies": { - "@typescript-eslint/eslint-plugin": "^4.28.0", - "@typescript-eslint/parser": "^4.28.0", + "@typescript-eslint/eslint-plugin": "^4.28.0 || ^5.0.0", + "@typescript-eslint/parser": "^4.28.0 || ^5.0.0", "eslint-config-prettier": "^8.3.0", - "eslint-plugin-jest": "^24.3.6", + "eslint-plugin-jest": "^24.3.6 || ^25.0.0", "eslint-plugin-jest-dom": "^3.9.0", "eslint-plugin-next": "^0.0.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-react": "^7.24.0", "eslint-plugin-react-hooks": "^4.2.0", - "eslint-plugin-testing-library": "^4.6.0" + "eslint-plugin-testing-library": "^4.6.0 || ^5.0.0" }, "devDependencies": { "eslint": "^7.29.0",