Skip to content

Commit

Permalink
Add yamllint
Browse files Browse the repository at this point in the history
  • Loading branch information
tstirrat15 committed Sep 6, 2024
1 parent f656461 commit a5d02cf
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
---
repos:
- repo: local
- repo: local
hooks:
- id: dotnet-format
name: Format Tests
language: system
entry: dotnet format tests/Authzed.Net.Tests --include
- id: "dotnet-format"
name: "Format Tests"
language: "system"
entry: "dotnet format tests/Authzed.Net.Tests --include"
types_or: ["c#", "vb"]
files: "tests"
- id: dotnet-format
name: Format Examples
language: system
entry: dotnet format examples/protected-api/Api --include
- id: "dotnet-format"
name: "Format Examples"
language: "system"
entry: "dotnet format examples/protected-api/Api --include"
types_or: ["c#", "vb"]
files: "examples"
- repo: "https://github.com/adrienverge/yamllint"
rev: "v1.35.1"
hooks:
- id: "yamllint"

0 comments on commit a5d02cf

Please sign in to comment.