diff options
author | Richard Samuels <richard.l.samuels@gmail.com> | 2021-06-01 17:49:24 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-04 18:47:26 +0000 |
commit | b17e0a99632872e44684700978d55c01be1a7895 (patch) | |
tree | 7af62160d9b6f54a850777651c33e17a2a0286eb /etc/evergreen_lint.yml | |
parent | 93dae17209ab07c7af75df41db90aac4fe93585e (diff) | |
download | mongo-b17e0a99632872e44684700978d55c01be1a7895.tar.gz |
SERVER-57398 Extract evergreen yaml linter into its own repo
Diffstat (limited to 'etc/evergreen_lint.yml')
-rw-r--r-- | etc/evergreen_lint.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/evergreen_lint.yml b/etc/evergreen_lint.yml new file mode 100644 index 00000000000..11ae37493e1 --- /dev/null +++ b/etc/evergreen_lint.yml @@ -0,0 +1,17 @@ +# These paths are relative to the directory containing this configuration file +files: + - evergreen.yml + +rules: + # this is a list of all rules available, their parameters, and their + # default values. Comment out a rule to disable it + - rule: "limit-keyval-inc" + # the maximum number of keyval.inc commands to allow in your YAML + limit: 4 + - rule: "shell-exec-explicit-shell" + - rule: "no-working-dir-on-shell" + - rule: "no-shell-exec" + - rule: "no-multiline-expansions-update" + - rule: "invalid-build-parameter" + - rule: "required-expansions-write" + regex: .*\/evergreen\/.*\.sh |