-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
30 lines (30 loc) · 955 Bytes
/
.pre-commit-config.yaml
File metadata and controls
30 lines (30 loc) · 955 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
repos:
- repo: local
hooks:
- id: dotnet-tool-restore
name: Install .NET tools
entry: dotnet tool restore
language: system
always_run: true
pass_filenames: false
stages:
- pre-commit
- pre-push
- post-checkout
- post-rewrite
description: Install the .NET tools listed at .config/dotnet-tools.json.
- id: dotnet-build
language: system
stages: [pre-commit, pre-push]
always_run: true
pass_filenames: false
description: Build the .NET project to ensure it compiles without errors.
name: Run .NET build
entry: dotnet build --no-restore Weaviate.slnx
- id: csharpier
name: Run CSharpier on C# files
entry: tools/format-csharp.sh
language: system
types:
- c#
description: CSharpier is an opinionated C# formatter inspired by Prettier.