Bug 1326100 - Allow inline comments in DevTools. r=tromey draft
authorJ. Ryan Stinnett <jryans@gmail.com>
Mon, 20 Mar 2017 16:06:44 -0500
changeset 501723 4bd50dc8b92645837deb860060c5a0f831b60225
parent 501569 05bfa2831c0ba4a26fa72328ffe6a99aba9c356a
child 501724 32919e9381cde00877a8e3adf6d111dbbeb4b119
child 501749 ba9a7259a2b5a6e06b8d8b4bb749f2639a6e8c70
child 501755 3eab1856db3d1312c7733e38a714ca0f1dc2cb6c
child 502301 4636b7baff1176d9c8657b36383e0f4fac025388
push id50093
push userbmo:jryans@gmail.com
push dateMon, 20 Mar 2017 21:26:33 +0000
reviewerstromey
bugs1326100
milestone55.0a1
Bug 1326100 - Allow inline comments in DevTools. r=tromey MozReview-Commit-ID: DCkrZogea3x
devtools/.eslintrc.js
--- a/devtools/.eslintrc.js
+++ b/devtools/.eslintrc.js
@@ -228,18 +228,18 @@ module.exports = {
     // Disallow unnecessary semicolons.
     "no-extra-semi": "error",
     // Deprecated, will be removed in 1.0.
     "no-extra-strict": "off",
     // Disallow fallthrough of case statements, except if there is a comment.
     "no-fallthrough": "error",
     // Allow the use of leading or trailing decimal points in numeric literals.
     "no-floating-decimal": "off",
-    // Disallow comments inline after code.
-    "no-inline-comments": "error",
+    // Allow comments inline after code.
+    "no-inline-comments": "off",
     // Disallow if as the only statement in an else block.
     "no-lonely-if": "error",
     // Allow mixing regular variable and require declarations (not a node env).
     "no-mixed-requires": "off",
     // Disallow mixed spaces and tabs for indentation.
     "no-mixed-spaces-and-tabs": "error",
     // Disallow use of multiple spaces (sometimes used to align const values,
     // array or object items, etc.). It's hard to maintain and doesn't add that