We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e671ba commit 1e8cec5Copy full SHA for 1e8cec5
2 files changed
.pre-commit-hooks.yaml
@@ -19,7 +19,7 @@
19
name: OPA check
20
description: Check syntax of staged Rego files
21
entry: opa check
22
- args: ['.']
+ args: ['.', '--strict']
23
pass_filenames: false
24
language: system
25
files: (\.rego)$
CHANGELOG.md
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
4
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7
+## [1.5.1] - 2022-02-14
8
+### Changed
9
+- Add `--strict` flag to `opa check` command for [compiler strict mode](https://www.openpolicyagent.org/docs/latest/strict/).
10
11
## [1.5.0] - 2021-08-14
12
### Added
0 commit comments