From 9a1f976142b0ef18e9bb20c8927e93d97340f3fc Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Mon, 31 Oct 2016 13:36:40 +0100 Subject: [PATCH] Add a lint whitelist for our own tests. --- tests/wpt/mozilla/tests/lint.whitelist | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/wpt/mozilla/tests/lint.whitelist 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:*