☠☠ backed out by e3e882d7ccac ☠ ☠ | |
author | Justin Wood <Callek@gmail.com> |
Sun, 06 Aug 2017 13:43:04 -0400 | |
changeset 425787 | 103073e92350ad459f91594d9a0ddedeb23d9a5f |
parent 425786 | c13bd0798514ce1b6d4b2849e4cef3d661aa2029 |
child 425788 | 9e1723c2e1c9a0afc9b0101a43ab556564c0e685 |
push id | 1567 |
push user | jlorenzo@mozilla.com |
push date | Thu, 02 Nov 2017 12:36:05 +0000 |
treeherder | mozilla-release@e512c14a0406 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | ahal |
bugs | 1387862 |
milestone | 57.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/python/mozlint/test/linters/badreturncode.yml +++ b/python/mozlint/test/linters/badreturncode.yml @@ -1,7 +1,8 @@ +--- BadReturnCodeLinter: description: Returns an error code no matter what include: - files type: external extensions: ['.js', '.jsm'] payload: external:badreturncode
--- a/python/mozlint/test/linters/explicit_path.yml +++ b/python/mozlint/test/linters/explicit_path.yml @@ -1,7 +1,8 @@ +--- ExplicitPathLinter: description: Only lint a specific file name rule: no-foobar include: - no_foobar.js type: string payload: foobar
--- a/python/mozlint/test/linters/external.yml +++ b/python/mozlint/test/linters/external.yml @@ -1,7 +1,8 @@ +--- ExternalLinter: description: It's bad to have the string foobar in js files. include: - files type: external extensions: ['.js', '.jsm'] payload: external:external
--- a/python/mozlint/test/linters/invalid_exclude.yml +++ b/python/mozlint/test/linters/invalid_exclude.yml @@ -1,5 +1,6 @@ +--- BadExcludeLinter: description: Has an invalid exclude directive. exclude: [0, 1] # should be a list of strings type: string payload: foobar
--- a/python/mozlint/test/linters/invalid_extension.ym +++ b/python/mozlint/test/linters/invalid_extension.ym @@ -1,4 +1,5 @@ +--- BadExtensionLinter: description: Has an invalid file extension. type: string payload: foobar
--- a/python/mozlint/test/linters/invalid_include.yml +++ b/python/mozlint/test/linters/invalid_include.yml @@ -1,5 +1,6 @@ +--- BadIncludeLinter: description: Has an invalid include directive. include: should be a list type: string payload: foobar
--- a/python/mozlint/test/linters/invalid_type.yml +++ b/python/mozlint/test/linters/invalid_type.yml @@ -1,4 +1,5 @@ +--- BadTypeLinter: description: Has an invalid type. type: invalid payload: foobar
--- a/python/mozlint/test/linters/missing_attrs.yml +++ b/python/mozlint/test/linters/missing_attrs.yml @@ -1,2 +1,3 @@ +--- MissingAttrsLinter: description: Missing type and payload
--- a/python/mozlint/test/linters/raises.yml +++ b/python/mozlint/test/linters/raises.yml @@ -1,4 +1,5 @@ +--- RaisesLinter: description: Raises an exception type: external payload: external:raises
--- a/python/mozlint/test/linters/regex.yml +++ b/python/mozlint/test/linters/regex.yml @@ -1,8 +1,11 @@ +--- RegexLinter: - description: Make sure the string foobar never appears in a js variable file because it is bad. + description: >- + Make sure the string foobar never appears in a js variable + file because it is bad. rule: no-foobar include: - '**/*.js' - '**/*.jsm' type: regex payload: foobar
--- a/python/mozlint/test/linters/string.yml +++ b/python/mozlint/test/linters/string.yml @@ -1,9 +1,12 @@ +--- StringLinter: - description: Make sure the string foobar never appears in browser js files because it is bad + description: >- + Make sure the string foobar never appears in browser js + files because it is bad rule: no-foobar include: - '**/*.js' - '**/*.jsm' type: string extensions: ['.js', 'jsm'] payload: foobar