mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 21:35:42 +00:00
- Add HERO_STAT_GAINED (151) and PROFESSION_GAINED (152) to action_result_type.proto to maintain parity with the Scala enum - Remove update-action-result-types pre-commit hook and script (no longer needed with simplified Scala enum approach) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.3.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- id: no-commit-to-branch
|
|
args: [--branch, main]
|
|
- repo: https://github.com/pocc/pre-commit-hooks
|
|
rev: v1.3.5
|
|
hooks:
|
|
- id: clang-format
|
|
args: [-i, --no-diff]
|
|
types_or: ["c++", "c#"]
|
|
exclude: ^src/main/csharp/net/eagle0/clients/unity/eagle0/Assets/Plugins
|
|
- repo: https://github.com/yoheimuta/protolint
|
|
rev: v0.42.2
|
|
hooks:
|
|
- id: protolint
|
|
args: [-fix]
|
|
exclude: ^src/main/protobuf/scalapb/
|
|
- repo: local
|
|
hooks:
|
|
- id: scalafmt
|
|
name: scalafmt
|
|
language: system
|
|
entry: scalafmt -i -f
|
|
types_or: ["scala"]
|
|
- repo: local
|
|
hooks:
|
|
- id: gazelle
|
|
name: gazelle
|
|
language: system
|
|
entry: ./scripts/pre-commit-gazelle.sh
|
|
files: '(\.go|\.proto|BUILD\.bazel|BUILD|WORKSPACE|WORKSPACE\.bazel|\.bzl)$'
|
|
pass_filenames: false
|