Skip to content

Commit

Permalink
ESLint PR check improvement (#11846)
Browse files Browse the repository at this point in the history
* adding eslintignore extensions

* Adding quiet to suppress non-error warnings
  • Loading branch information
GTFalcao authored May 9, 2024
1 parent 42f0639 commit 222543a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@ node_modules
package-lock.json
pnpm-lock.yaml
platform/dist
*.md
*.txt
*.yml
*.yaml
*.lock
*.py
*.png

2 changes: 1 addition & 1 deletion .github/workflows/pull-request-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
with:
format: 'space-delimited'
- name: Lint changed files
run: npx eslint ${{ steps.changed_files_space.outputs.added_modified }} ${{ steps.changed_files_space.outputs.renamed }}
run: npx eslint --quiet ${{ steps.changed_files_space.outputs.added_modified }} ${{ steps.changed_files_space.outputs.renamed }}
- name: Get Changed Files (comma-separated)
id: changed_files
uses: jitterbit/get-changed-files@v1
Expand Down

0 comments on commit 222543a

Please sign in to comment.