Skip to content

Commit

Permalink
feat: support ESLint 8.X (#1725)
Browse files Browse the repository at this point in the history
* feat: support ESLint 8.X

BREAKING CHANGE: Requires Node@^12.22.0 || ^14.17.0 || >=16.0.0

* build(deps): eslint-config-standard-jsx to 11.0.0

* ci: only test-external with lts/*

Co-authored-by: Divlo <contact@divlo.fr>
  • Loading branch information
MichaelDeBoey and theoludwig committed Jan 31, 2022
1 parent 836c2b5 commit e25e9da
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 16 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test-external.yml
Expand Up @@ -12,19 +12,14 @@ jobs:
test-external:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: ['lts/*']
fail-fast: false

steps:
- name: Checkout project
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: lts/*

- name: Cache Node dependencies
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-internal.yml
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [12.20.0, 14.13.1, 16.0.0, 17]
node-version: [12.22, 12, 14.17, 14, 16.0.0, 16]
fail-fast: false

steps:
Expand Down
16 changes: 8 additions & 8 deletions package.json
Expand Up @@ -15,13 +15,13 @@
"url": "https://github.com/standard/standard/issues"
},
"dependencies": {
"eslint": "~7.18.0",
"eslint-config-standard": "16.0.3",
"eslint-config-standard-jsx": "10.0.0",
"eslint-plugin-import": "~2.25.3",
"eslint-plugin-node": "~11.1.0",
"eslint-plugin-promise": "~5.1.1",
"eslint-plugin-react": "~7.27.0",
"eslint": "^8.7.0",
"eslint-config-standard": "^17.0.0-0",
"eslint-config-standard-jsx": "^11.0.0-0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-n": "^14.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.28.0",
"standard-engine": "^15.0.0-0"
},
"devDependencies": {
Expand All @@ -34,7 +34,7 @@
"tape": "^5.3.2"
},
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"homepage": "https://standardjs.com",
"keywords": [
Expand Down

0 comments on commit e25e9da

Please sign in to comment.