Merge pull request #4089 from IgorA100/patch-153 #2837
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI ESLint | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: [ master ] | |
permissions: | |
contents: read | |
jobs: | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install ESLint | |
run: npm install [email protected] [email protected] [email protected] [email protected] | |
- name: Run ESLint | |
run: npx eslint --ext .js.php,.js . |