This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch template_less
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/template_less by this push:
new a079a90700 factoring out pre-commit changes into another PR
a079a90700 is described below
commit a079a907006853f4a1232b4cceacc59c075a2054
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Fri Jan 24 11:09:24 2025 -0800
factoring out pre-commit changes into another PR
---
.pre-commit-config.yaml | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index a40c26f218..bb34ee4055 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -52,14 +52,6 @@ repos:
- id: trailing-whitespace
exclude: ^.*\.(snap)
args: ["--markdown-linebreak-ext=md"]
- - repo: https://github.com/pre-commit/mirrors-prettier
- rev: v4.0.0-alpha.8 # Use the sha or tag you want to point at
- hooks:
- - id: prettier
- additional_dependencies:
- - [email protected]
- args: ["--ignore-path=./superset-frontend/.prettierignore"]
- files: "superset-frontend"
- repo: local
hooks:
- id: eslint
@@ -68,6 +60,14 @@ repos:
language: system
pass_filenames: true
files: \.(js|jsx|ts|tsx)$
+ - repo: https://github.com/pre-commit/mirrors-prettier
+ rev: v4.0.0-alpha.8 # Use the sha or tag you want to point at
+ hooks:
+ - id: prettier
+ additional_dependencies:
+ - [email protected]
+ args: ["--ignore-path=./superset-frontend/.prettierignore"]
+ files: "superset-frontend"
# blacklist unsafe functions like make_url (see #19526)
- repo: https://github.com/skorokithakis/blacklist-pre-commit-hook
rev: e2f070289d8eddcaec0b580d3bde29437e7c8221