Bump lint-staged from 15.1.0 to 15.2.0 #226
Workflow file for this run
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: ESLint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
eslint: | |
name: Run eslint scanning | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install ESLint | |
run: | | |
npm install . # NPM does not allow a subset install, so install the entire thing to ascertain it uses the same eslint requirements. | |
- name: Run ESLint | |
run: npx eslint . | |
--config .eslintrc.json | |
--ext .js,.jsx,.ts,.tsx |