mirror of
https://github.com/apache/superset.git
synced 2026-04-07 18:35:15 +00:00
chore: fix precommit for eslint (#32596)
This commit is contained in:
committed by
GitHub
parent
1e20b048d3
commit
664047f3fb
3
.github/workflows/pre-commit.yml
vendored
3
.github/workflows/pre-commit.yml
vendored
@@ -56,8 +56,7 @@ jobs:
|
||||
- name: pre-commit
|
||||
run: |
|
||||
set +e # Don't exit immediately on failure
|
||||
# Skip auto-fixing in CI to ensure changes are committed locally
|
||||
export SKIP_FIX=1
|
||||
export SKIP=eslint-frontend,type-checking-frontend
|
||||
pre-commit run --all-files
|
||||
PRE_COMMIT_EXIT_CODE=$?
|
||||
git diff --quiet --exit-code
|
||||
|
||||
Reference in New Issue
Block a user