aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-10-31 13:36:40 +0100
committerMs2ger <Ms2ger@gmail.com>2016-10-31 15:00:57 +0100
commit9a1f976142b0ef18e9bb20c8927e93d97340f3fc (patch)
treeacde3b3ddb611419cb837c257d639f7583df5686
parente0da3a4c1bd7ad896dfba5cd11f70b8d1ed3666d (diff)
downloadservo-9a1f976142b0ef18e9bb20c8927e93d97340f3fc.tar.gz
servo-9a1f976142b0ef18e9bb20c8927e93d97340f3fc.zip
Add a lint whitelist for our own tests.
-rw-r--r--tests/wpt/mozilla/tests/lint.whitelist23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/wpt/mozilla/tests/lint.whitelist b/tests/wpt/mozilla/tests/lint.whitelist
new file mode 100644
index 00000000000..483e131a143
--- /dev/null
+++ b/tests/wpt/mozilla/tests/lint.whitelist
@@ -0,0 +1,23 @@
+# File containing whiteslist for lint errors
+# Format is:
+# ERROR TYPE:file/name/pattern[:line number]
+# e.g.
+# TRAILING WHITESPACE:example/file.html:128
+# to allow trailing whitespace on example/file.html line 128
+
+# Please don't add anything here, unless it's necessary for the test.
+
+## File types that should never be checked ##
+
+*:*.gif
+*:*.jpeg
+*:*.jpg
+*:*.png
+
+## Legacy errors ##
+
+CONSOLE:*
+OPEN-NO-MODE:*
+PATH LENGTH:*
+PRINT STATEMENT:*
+TRAILING WHITESPACE:*