Style
Rules relating to code style.
| ID | Summary |
|---|---|
| style/yoda-condition | Yoda condition, it is |
| style/use-assignment-operator | Prefer Automatically fixable: Yes |
| style/unnecessary-some | Unnecessary use of |
| style/unconditional-assignment | Unconditional assignment in rule body |
| style/trailing-default-rule | Default rule should be declared first |
| style/todo-comment | Avoid TODO Comments |
| style/rule-name-repeats-package | Avoid repeating package path in rule names |
| style/rule-length | Max rule length exceeded |
| style/prefer-some-in-iteration | Prefer |
| style/prefer-snake-case | Prefer snake_case for names |
| style/pointless-reassignment | Pointless reassignment of variable |
| style/opa-fmt | File should be formatted with Automatically fixable: Yes |
| style/no-whitespace-comment | Comment should start with whitespace Automatically fixable: Yes |
| style/mixed-iteration | Mixed iteration style |
| style/messy-rule | Messy incremental rule |
| style/line-length | Line too long |
| style/function-arg-return | Return value assigned in function argument |
| style/file-length | Max file length exceeded |
| style/external-reference | External reference in function |
| style/double-negative | Avoid double negatives |
| style/detached-metadata | Detached metadata annotation |
| style/default-over-not | Prefer default assignment over negated condition |
| style/default-over-else | Prefer default assignment over fallback |
| style/comprehension-term-assignment | Assignment can be moved to comprehension term |
| style/chained-rule-body | Avoid chaining rule bodies |
| style/avoid-get-and-list-prefix | Avoid |