Skip to content

Commit

Permalink
Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix su…
Browse files Browse the repository at this point in the history
…pport. r=jaws

MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : e462e84bf8f2ffd893d1fd6b5ea14bbc093168dd
  • Loading branch information
Standard8 committed May 8, 2017
1 parent 8c2476a commit 2bf9485
Show file tree
Hide file tree
Showing 75 changed files with 113 additions and 105 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ b2g/locales/en-US/b2g-l10n.js
browser/app/**
browser/branding/**/firefox-branding.js
browser/base/content/test/general/file_csp_block_all_mixedcontent.html
# Gzipped test file.
browser/base/content/test/general/gZipOfflineChild.html
browser/base/content/test/urlbar/file_blank_but_not_blank.html
browser/base/content/newtab/**
# Test files that are really json not js, and don't need to be linted.
Expand Down
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ module.exports = {
"no-implied-eval": "error",
"no-eval": "error",
},
// The html plugin is enabled via a command line option on eslint. To avoid
// bad interactions with the xml preprocessor in eslint-plugin-mozilla, we
// turn off processing of the html plugin for .xml files.
"settings": {
"html/xml-extensions": [ ".xhtml" ]
},
"env": {
"es6": true
},
Expand Down
2 changes: 1 addition & 1 deletion accessible/tests/mochitest/jsat/doc_content_text.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
<textarea>Please refrain from Mayoneggs during this salmonella scare.</textarea>
<label>So we don't get dessert?</label><input type="text">
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion accessible/tests/mochitest/jsat/test_quicknav_modes.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@
Mozilla Bug 811307
</a>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion accessible/tests/mochitest/jsat/test_tables.html
Original file line number Diff line number Diff line change
Expand Up @@ -576,4 +576,4 @@
</table>
</div>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion browser/base/content/test/appUpdate/downloadPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
Download
</a>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion browser/base/content/test/general/app_bug575561.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
<a href="data:text/html,<!DOCTYPE html><html><body>Another Page</body></html>">data: URI</a>
<iframe src="app_subframe_bug575561.html"></iframe>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion browser/base/content/test/general/browser_bug678392-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
<body>
bug 678392 test page 1
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion browser/base/content/test/general/browser_bug678392-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
<body>
bug 678392 test page 2
</body>
</html>
</html>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<body>
<a href="#" onclick="window.open('close_beforeunload.html', '_blank')">Open second tab</a>
</body>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
<input id="input_datetime-local" type="datetime-local">
<input id="input_readonly" readonly="true">
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
<body>
This is a test page
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
<body>
Favicon!!
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
<body>
Third Party Favicon!!
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
<body>
Third Party Favicon!!
</body>
</html>
</html>
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<h1>I'm just a support file</h1>
<p>I get loaded to do permission testing.</p>
<p>I get loaded to do permission testing.</p>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<html><body></body></html>
<html><body></body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
<body>
Favicon!!
</body>
</html>
</html>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<html><body></body></html>
<html><body></body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ <h3>Select options</h3>
<option value="val5">Five</option>
<option value="val6">Six</option>
<option value="val7">Seven</option>
</select>
</select>
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
<!-- input events -->
<h3>Input fields</h3>
<input type="text" id="input1">
<input type="text" name="input2">
<input type="text" name="input2">
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
window.location.replace(newLocation);
</script>
</head>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
<button id="edit" disabled="disabled">Edit</button>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<meta charset="utf-8">
<style>
body {background: rgb(0, 128, 0);}
</style>
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@

getBlobAsDataURL(event.data).then(setPreviewBG).then(sendReceivedEvent);
});
</script>
</script>
2 changes: 1 addition & 1 deletion devtools/client/animationinspector/test/doc_keyframes.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@
<body>
<div></div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@
</head>
<body>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
}
</script>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
</ul>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
</li>
</ul>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
<img src="chrome://branding/content/about-logo.png" />
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
<body>
<div>invalid source map</div>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion devtools/client/inspector/test/doc_inspector_add_node.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
</div>
<iframe src="data:text/html;charset=utf-8,Test iframe content"></iframe>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion devtools/client/inspector/test/doc_inspector_csp.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
<body>
This HTTP response has CSP headers.
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion devtools/client/inspector/test/doc_inspector_embed.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
<embed src="doc_inspector_menu.html" type="application/html"
width="422" height="258"></embed>
</object>
</body></html>
</body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ <h2>Static positioning</h2>
</div>
</div>

</body></html>
</body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
</div>

</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
<circle cx="0" cy="0" r="50" class="class2" />
</svg>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
</ul>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
<body>
<div id="id5"></div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
navigator.geolocation.getCurrentPosition(function (pos) {});
</script>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@
</div>
<span id="inline">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus porttitor luctus sem id scelerisque. Cras quis velit sed risus euismod lacinia. Donec viverra enim eu ligula efficitur, quis vulputate metus cursus. Duis sed interdum risus. Ut blandit velit vitae faucibus efficitur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.<br/ >
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed vitae dolor metus. Aliquam sed velit sit amet libero vestibulum aliquam vel a lorem. Integer eget ex eget justo auctor ullamcorper.<br/ >
Praesent tristique maximus lacus, nec ultricies neque ultrices non. Phasellus vel lobortis justo. </span>
Praesent tristique maximus lacus, nec ultricies neque ultrices non. Phasellus vel lobortis justo. </span>
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ <h2 id="Syntax">Syntax</h2>


</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
<p>This is not the summary or the syntax.</p>

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion devtools/client/shared/test/html-mdn-css-no-summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ <h2 id="Syntax">Syntax</h2>


</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ <h2 id="Syntax">Syntax</h2>


</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
Testing style editor media sidebar with source maps
</div>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion devtools/client/styleeditor/test/media-rules.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
Testing style editor media sidebar
</div>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion devtools/client/styleeditor/test/nostyle.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<div>
Page with no stylesheets
</div>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@
<pre id="test">
</pre>
</body>
</html>
</html>
Loading

0 comments on commit 2bf9485

Please sign in to comment.