Skip to content

Commit

Permalink
Build: test on eslint v8 (fixes #175) (#186)
Browse files Browse the repository at this point in the history
* --wip-- [skip ci]

* Build: test on eslint v8

* chore: upgrade to 8.0.0-rc.0

* fix: use fisker/eslint-plugin-unicorn

* chore: upgrade espree & eslint-scope to use the same version as eslint v8

* Update package.json

* Update package.json

Co-authored-by: Bryan Mishkin <698306+bmish@users.noreply.github.com>

Co-authored-by: Bryan Mishkin <698306+bmish@users.noreply.github.com>
  • Loading branch information
aladdin-add and bmish committed Oct 11, 2021
1 parent 3a794ed commit ac87852
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/main.yml
Expand Up @@ -22,7 +22,8 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm install
# TODO: remove "--force" once eslint v8 released
- run: npm install --force
- run: npm test

lint:
Expand All @@ -41,3 +42,13 @@ jobs:
- run: npm install
- run: npm install --save-dev eslint@6
- run: npm test

eslint7:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- run: npm install
- run: npm install --save-dev eslint@7
- run: npm test

8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -41,14 +41,14 @@
"devDependencies": {
"chai": "^4.1.0",
"dirty-chai": "^2.0.1",
"eslint": "^7.9.0",
"eslint": "^8.0.0",
"eslint-config-not-an-aardvark": "^2.1.0",
"eslint-plugin-markdown": "^2.0.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-self": "^1.2.1",
"eslint-plugin-unicorn": "^36.0.0",
"eslint-scope": "^5.1.1",
"espree": "^7.3.0",
"eslint-plugin-unicorn": "github:fisker/eslint-plugin-unicorn#eslint-8",
"eslint-scope": "^6.0.0",
"espree": "^9.0.0",
"estraverse": "^5.0.0",
"lodash": "^4.17.2",
"markdownlint-cli": "^0.28.1",
Expand Down

0 comments on commit ac87852

Please sign in to comment.