This is an automated email from the ASF dual-hosted git repository.

dahn pushed a commit to branch staging-site
in repository https://gitbox.apache.org/repos/asf/cloudstack-www.git


The following commit(s) were added to refs/heads/staging-site by this push:
     new e4cffc602 pre-commit migrate / autoupdate; add 3 more hooks (#267)
e4cffc602 is described below

commit e4cffc6020a5cbf2a089a3a54cae5271e8864bf8
Author: John Bampton <[email protected]>
AuthorDate: Mon Dec 30 16:13:55 2024 +1000

    pre-commit migrate / autoupdate; add 3 more hooks (#267)
---
 .pre-commit-config.yaml | 13 +++++++------
 tsconfig.json           |  1 -
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 10e46b5cd..29cf71cb8 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -16,7 +16,7 @@
 #  under the License.
 ---
 # https://pre-commit.com/#installation
-default_stages: [commit, push]
+default_stages: [pre-commit, pre-push]
 default_language_version:
   # force all unspecified Python hooks to run python3
   python: python3
@@ -27,16 +27,17 @@ repos:
       - id: identity
       - id: check-hooks-apply
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.6.0
+    rev: v5.0.0
     hooks:
       #- id: check-added-large-files
       - id: check-case-conflict
-      #- id: check-executables-have-shebangs
+      - id: check-illegal-windows-names
+      - id: check-json
       - id: check-merge-conflict
-      #- id: check-shebang-scripts-are-executable
+      - id: check-shebang-scripts-are-executable
       - id: check-vcs-permalinks
-      #- id: check-yaml
-      #- id: destroyed-symlinks
+      - id: check-yaml
+      - id: destroyed-symlinks
       - id: detect-aws-credentials
         args: [--allow-missing-credentials]
       - id: detect-private-key
diff --git a/tsconfig.json b/tsconfig.json
index 6f4756980..57bbce401 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,5 +1,4 @@
 {
-  // This file is not used in compilation. It is here just for a nice editor 
experience.
   "extends": "@tsconfig/docusaurus/tsconfig.json",
   "compilerOptions": {
     "baseUrl": "."

Reply via email to