summaryrefslogtreecommitdiffstats
path: root/python/mozlint/test/linters/invalid_exclude.yml
diff options
context:
space:
mode:
Diffstat (limited to 'python/mozlint/test/linters/invalid_exclude.yml')
-rw-r--r--python/mozlint/test/linters/invalid_exclude.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/mozlint/test/linters/invalid_exclude.yml b/python/mozlint/test/linters/invalid_exclude.yml
new file mode 100644
index 0000000000..7231d2c146
--- /dev/null
+++ b/python/mozlint/test/linters/invalid_exclude.yml
@@ -0,0 +1,6 @@
+---
+BadExcludeLinter:
+ description: Has an invalid exclude directive.
+ exclude: [0, 1] # should be a list of strings
+ type: string
+ payload: foobar