Skip to content

Commit

Permalink
add more rules to the config file
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturRibeiro-CX committed Feb 23, 2025
1 parent 7223ef4 commit 24470f0
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions assets/.regal/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,21 @@ rules:
unused-output-variable:
# https://docs.styra.com/regal/rules/bugs/unused-output-variable
level: ignore
deprecated-builtin:
# https://docs.styra.com/regal/rules/bugs/deprecated-builtin
level: ignore
leaked-internal-reference:
# https://docs.styra.com/regal/rules/bugs/leaked-internal-reference
level: ignore
sprintf-arguments-mismatch:
# https://docs.styra.com/regal/rules/bugs/sprintf-arguments-mismatch
level: ignore
inconsistent-args:
# https://docs.styra.com/regal/rules/bugs/inconsistent-args
level: ignore
redundant-existence-check:
# https://docs.styra.com/regal/rules/bugs/redundant-existence-check
level: ignore
idiomatic:
no-defined-entrypoint:
# https://docs.styra.com/regal/rules/idiomatic/no-defined-entrypoint
Expand Down Expand Up @@ -43,6 +58,9 @@ rules:
directory-package-mismatch:
# https://docs.styra.com/regal/rules/idiomatic/directory-package-mismatch
level: ignore
custom-in-construct:
# https://docs.styra.com/regal/rules/idiomatic/custom-in-construct
level: ignore
style:
avoid-get-and-list-prefix:
# https://docs.styra.com/regal/rules/style/avoid-get-and-list-prefix
Expand Down Expand Up @@ -82,7 +100,36 @@ rules:
rule-name-repeats-package:
# https://docs.styra.com/regal/rules/style/rule-name-repeats-package
level: ignore
messy-rule:
# https://docs.styra.com/regal/rules/style/messy-rule
level: ignore
comprehension-term-assignment:
# https://docs.styra.com/regal/rules/style/comprehension-term-assignment
level: ignore
pointless-reassignment:
# https://docs.styra.com/regal/rules/style/pointless-reassignment
level: ignore
unconditional-assignment:
# https://docs.styra.com/regal/rules/style/unconditional-assignment
level: ignore
default-over-else:
# https://docs.styra.com/regal/rules/style/default-over-else
level: ignore
imports:
use-rego-v1:
# https://docs.styra.com/regal/rules/imports/use-rego-v1
level: ignore
redundant-alias:
# https://docs.styra.com/regal/rules/performance/non-loop-expression
level: ignore
import-after-rule:
# https://docs.styra.com/regal/rules/imports/import-after-rule
level: ignore
performance:
non-loop-expression:
# https://docs.styra.com/regal/rules/performance/non-loop-expression
level: ignore
defer-assignment:
# https://docs.styra.com/regal/rules/performance/defer-assignment
level: ignore

0 comments on commit 24470f0

Please sign in to comment.