Skip to content

Commit

Permalink
Merge pull request #20 from moneyforward/chore/use-eslint8
Browse files Browse the repository at this point in the history
Be available with both eslint 7 and eslint 8
  • Loading branch information
Hiromi Kimura authored Dec 10, 2021
2 parents 15e30aa + 4136b3b commit 53a11bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 53a11bf

Please sign in to comment.