Skip to content

Commit

Permalink
Added Pre-commits
Browse files Browse the repository at this point in the history
  • Loading branch information
gvatsal60 committed Jul 5, 2024
1 parent 109cc49 commit 2809276
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.detectIndentation": false,
"editor.insertSpaces": true,
"editor.tabCompletion": "on",
"editor.tabSize": 2,
"editor.trimAutoWhitespace": true,
"explorer.confirmDelete": false,
Expand Down Expand Up @@ -52,4 +53,4 @@
"--rm",
"--name=vsc-${localEnv:USER}-${containerWorkspaceFolderBasename}-${devcontainerId}"
]
}
}
60 changes: 60 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,63 @@ repos:
rev: ""
hooks:
- id: yamllint
- repo: https://github.com/codespell-project/codespell
rev: ""
hooks:
- id: codespell
- repo: https://github.com/mrtazz/checkmake
rev: ""
hooks:
- id: checkmake
- repo: https://github.com/sqlfluff/sqlfluff
rev: ""
hooks:
- id: sqlfluff-lint
- id: sqlfluff-fix
- repo: https://github.com/bufbuild/buf
rev: ""
hooks:
- id: buf-generate
- id: buf-breaking
- id: buf-lint
- id: buf-format
- id: buf-dep-update
- id: buf-dep-prune
- id: buf-mod-update
- id: buf-mod-prune
- repo: https://github.com/rubocop/rubocop
rev: ""
hooks:
- id: rubocop
- repo: https://github.com/AleksaC/terraform-py
rev: ""
hooks:
- id: tf-fmt
- id: tf-validate
- repo: https://github.com/realm/SwiftLint
rev: ""
hooks:
- id: SwiftLint
- repo: https://github.com/gitleaks/gitleaks
rev: ""
hooks:
- id: gitleaks
- repo: https://github.com/thoughtworks/talisman
rev: ""
hooks:
- id: talisman-commit
entry: cmd --githook pre-commit
- repo: https://github.com/crate-ci/typos
rev: ""
hooks:
- id: typos
- id: typos-docker
- id: typos-src
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: ""
hooks:
- id: clang-format
- repo: https://github.com/pre-commit/mirrors-eslint
rev: ""
hooks:
- id: eslint

0 comments on commit 2809276

Please sign in to comment.