Skip to content

Commit

Permalink
test: workaround ESLint 7 plugin resolving issue during testing
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Nov 29, 2021
1 parent 1681f57 commit 33de9d4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,17 @@ node_js:
install:
- echo "Avoid Travis's npm auto-install"
before_script: >
npm install --legacy-peer-deps --no-save "eslint@${ESLINT}"
if [ ${ESLINT} = "7" ]; then
npm install --no-save "eslint@${ESLINT}" eslint-config-canonical@24.4.4
else
npm install --no-save "eslint@${ESLINT}"
npm run lint
fi
notifications:
email: false
script:
- npm run test
- npm run lint
- npm run build
env:
jobs:
Expand Down

0 comments on commit 33de9d4

Please sign in to comment.