-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump eslint from 8.53.0 to 8.56.0 (#134)
- Loading branch information
Showing
13 changed files
with
689 additions
and
1,246 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
name: Linting | ||
|
||
on: # yamllint disable-line rule:truthy | ||
pull_request: {} | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
eslint: | ||
name: ESLint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout ${{ github.repository }} | ||
uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: "20.10.0" | ||
- name: Cache yarn dependencies | ||
id: yarn-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
.yarn/cache | ||
node_modules | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/.yarnrc.yml') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Compile | ||
if: ${{ steps.yarn-cache.outputs.cache-hit != 'true' }} | ||
run: yarn install | ||
- name: Run ESLint | ||
uses: sibiraj-s/action-eslint@v3 | ||
with: | ||
all-files: "true" | ||
ignore-patterns: | | ||
.github | ||
.yarn | ||
coverage | ||
dist | ||
node_modules | ||
eslint-args: "-o eslint-results.sarif -f ${{ github.workspace }}/node_modules/@microsoft/eslint-formatter-sarif/sarif.js" | ||
extensions: "js,jsx,ts,tsx" | ||
annotations: true | ||
- name: Upload to GHAS | ||
if: always() | ||
uses: github/codeql-action/upload-sarif@v2 | ||
with: | ||
category: "eslint" | ||
sarif_file: "eslint-results.sarif" | ||
pre-commit: | ||
name: Pre-commit | ||
uses: fabasoad/reusable-workflows/.github/workflows/wf-pre-commit.yml@main | ||
with: | ||
skip-hooks: "audit, build, eslint, test, snyk-test" |
This file was deleted.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ignore: | ||
- vulnerability: CVE-2022-25883 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. | ||
version: v1.25.0 | ||
# ignores vulnerabilities until expiry date; change duration by modifying expiry date | ||
ignore: | ||
SNYK-JS-AXIOS-6124857: | ||
- '*': | ||
reason: Introduced by deepl-node@1.11.0 > axios@1.6.2. | ||
expires: 2024-01-01T00:00:00.000Z | ||
created: 2023-12-30T09:15:43.424Z | ||
patch: {} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.