From d2d684782b9d1e3e94641cc9051f333a70736daa Mon Sep 17 00:00:00 2001 From: Rudxain Date: Tue, 16 Jul 2024 21:32:07 -0400 Subject: [PATCH] ditch ESLint --- .github/workflows/eslint.yml | 41 ------------------------------------ 1 file changed, 41 deletions(-) delete mode 100644 .github/workflows/eslint.yml diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml deleted file mode 100644 index 195f996..0000000 --- a/.github/workflows/eslint.yml +++ /dev/null @@ -1,41 +0,0 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. - -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 i eslint # this should sync with package-lock - npm i @microsoft/eslint-formatter-sarif@2.1.7 - - name: Run ESLint - run: npx eslint . - --ext .js - --format @microsoft/eslint-formatter-sarif - --output-file eslint-results.sarif - continue-on-error: true - - - name: Upload analysis results to GitHub - uses: github/codeql-action/upload-sarif@v2 - with: - sarif_file: eslint-results.sarif - wait-for-processing: true