Bug 1436605 - Disable eslint mozilla/use-cc-etc rule for the time being. r=jorgk
authorPhilipp Kewisch <mozilla@kewis.ch>
Thu, 08 Feb 2018 10:43:53 +0100
changeset 31067 a31a998b9f300044a43b3a5870e93737bcd4f6aa
parent 31066 f842916b9211d69fdda4075aa3dc8b69e37a25ec
child 31068 998b4ab68d4c5c574ee1995d513858bd36483ef7
push id383
push userclokep@gmail.com
push dateMon, 07 May 2018 21:52:48 +0000
reviewersjorgk
bugs1436605
Bug 1436605 - Disable eslint mozilla/use-cc-etc rule for the time being. r=jorgk MozReview-Commit-ID: EjPX8tHEA81
.eslintrc.js
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -10,16 +10,22 @@ module.exports = {
     "plugin:mozilla/recommended"
   ],
 
   // When adding items to this file please check for effects on sub-directories.
   "plugins": [
     "mozilla"
   ],
 
+  "rules": {
+    // XXX We are waiting for m-c to create a script to fix these in bug 1433175.
+    // Disabling this rule as part of bug 1436605 until that is the case.
+    "mozilla/use-cc-etc": "off"
+  },
+
   // 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" ]
   },
 
   "overrides": [{