Skip to content

Commit

Permalink
chore: add tests for ESLint 8 (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey authored Nov 30, 2021
1 parent 8db0978 commit 2fd5b89
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'
node-version: 16
- name: Install Packages
run: npm install
env:
Expand All @@ -29,13 +29,19 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
eslint: [6, 7]
node: ['8.10.0', 8, 10, 12, 14, 16]
eslint: [6, 7, 8]
node: [8.10.0, 8, 10, 12, 14, 16]
exclude:
- eslint: 8
node: 10
- eslint: 8
node: 8
- eslint: 8
node: 8.10.0
- eslint: 7
node: 8
- eslint: 7
node: '8.10.0'
node: 8.10.0
include:
- os: windows-latest
eslint: 7
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"mdast-util-from-markdown": "^0.8.5"
},
"peerDependencies": {
"eslint": ">=6.0.0"
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
},
"engines": {
"node": "^8.10.0 || ^10.12.0 || >=12.0.0"
Expand Down

0 comments on commit 2fd5b89

Please sign in to comment.