Skip to content

Commit

Permalink
feat: Support ESLint 7.x
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Requires Node@^10.12.x || 12.x
BREAKING CHANGE: Requires ESLint@^7.x
  • Loading branch information
MichaelDeBoey committed May 24, 2020
1 parent 21838c6 commit 22e9058
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 17 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,30 @@ on:
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node: [12.x, 10.x, 8.x]
os: [ubuntu-latest]
eslint: [7]
node: [14]
include:
# On other platforms
- eslint: 7
node: 14
os: windows-latest
- eslint: 7
node: 14
os: macos-latest
# On old Node.js versions
- eslint: 7
node: 12
os: ubuntu-latest
- eslint: 7
node: 10
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v1
with:
fetch-depth: 1
uses: actions/checkout@v2
- name: Install Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
with:
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,38 @@
"version": "13.0.0",
"description": "Additional ESLint rules.",
"engines": {
"node": ">=8.10.0"
"node": "^10.12.0 || >=12.0.0"
},
"main": "index.js",
"files": [
"lib"
],
"peerDependencies": {
"eslint": ">=6.6.0"
"eslint": "^7.0.0"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "~2.6.1",
"@typescript-eslint/parser": "~2.6.1",
"eslint-plugin-eslint-comments": "~3.1.2",
"eslint-plugin-eslint-plugin": "~2.1.0",
"eslint-plugin-node": "~10.0.0",
"eslint-plugin-prettier": "~3.1.1",
"eslint-plugin-vue": "~6.0.0",
"@typescript-eslint/eslint-plugin": "^3.0.0",
"@typescript-eslint/parser": "^3.0.0",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-eslint-plugin": "^2.2.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-vue": "^6.2.2",
"prettier": "~1.19.1",
"vue-eslint-parser": "^7.0.0"
"vue-eslint-parser": "^7.1.0"
},
"devDependencies": {
"@mysticatea/eslint-plugin": "file:.",
"codecov": "^3.6.1",
"eslint": "~6.6.0",
"eslint": "^7.1.0",
"fs-extra": "^8.1.0",
"globals": "^12.1.1",
"mocha": "^6.2.2",
"npm-run-all": "^4.1.5",
"nyc": "^14.1.1",
"opener": "^1.5.1",
"rimraf": "^3.0.0",
"typescript": "~3.7.2"
"typescript": "^3.9.3"
},
"scripts": {
"clean": "rimraf .nyc_output coverage",
Expand Down

0 comments on commit 22e9058

Please sign in to comment.