chore(deps): bump eslint from 10.0.2 to 10.0.3 (#167) #350
This file contains hidden or 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' ] | |
| schedule: | |
| - cron: '33 14 * * 5' | |
| jobs: | |
| eslint: | |
| name: Run eslint scanning | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| security-events: write | |
| # Required for private repositories by github/codeql-action/upload-sarif | |
| actions: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install | |
| run: | | |
| npm install | |
| npm install --legacy-peer-deps @microsoft/eslint-formatter-sarif@2.1.7 | |
| - name: Lint | |
| run: npx eslint . | |
| --format @microsoft/eslint-formatter-sarif | |
| --output-file eslint-results.sarif | |
| continue-on-error: true | |
| - name: Report | |
| uses: github/codeql-action/upload-sarif@v4 | |
| with: | |
| sarif_file: eslint-results.sarif | |
| wait-for-processing: true |