Skip to content

Commit

Permalink
ci: use project's own eslint.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Jun 24, 2024
1 parent 9007e19 commit 5595fc6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ jobs:
- name: build project if needed
run: npm run build-for-test --if-present
working-directory: ./project
- name: modify project eslint config
run: sed "s/'@voxpelli\/eslint-config'/'..\/main\/index.js'/" eslint.config.js > tmp.eslint.config.js && rm eslint.config.js && mv tmp.eslint.config.js eslint.config.js
working-directory: ./project
- name: run eslint
run: ../main/node_modules/.bin/eslint -c ../main/eslint.config.js
run: ../main/node_modules/.bin/eslint
working-directory: ./project

0 comments on commit 5595fc6

Please sign in to comment.