Skip to content

Commit 5599643

Browse files
committed
OPA check all Rego files
Fixes #3 Signed-off-by: Anders Eknert <anders@eknert.com>
1 parent d4a6f5d commit 5599643

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-hooks.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
name: OPA check
2020
description: Check syntax of staged Rego files
2121
entry: opa check
22+
args: ['.']
23+
pass_filenames: false
2224
language: system
2325
files: (\.rego)$
2426

0 commit comments

Comments
 (0)