Skip to content

Commit

Permalink
Support eslint V9 config file
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz authored Aug 21, 2024
1 parent e67c96d commit 0d56b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
fi
- name: "JS Lint"
run: |
if [[ -f "node_modules/.bin/eslint" && -f ".eslintrc.js" ]]; then
if [[ -f "node_modules/.bin/eslint" && ( -f "eslint.config.js" || -f "eslint.config.mjs" || -f "eslint.config.cjs" || -f ".eslintrc.js" ) ]]; then
echo -e "\033[0;33mExecuting ESLint...\033[0m"
node_modules/.bin/eslint --color .
else
Expand Down

0 comments on commit 0d56b4f

Please sign in to comment.