Bug 1253693 - Switch prefer-es6-class React .eslintrc to prefer createClass. r=jlong
authorLin Clark <lclark@mozilla.com>
Fri, 04 Mar 2016 12:22:00 -0800
changeset 323258 fdcd2bcdfdcc5182e6734354c846405ff7381f29
parent 323257 c5338fae9902fbb19c82b77eee85a31bf5929d0e
child 323259 8bedab78c87044bd17055e5072495329ac4d15a3
push id5913
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 16:57:49 +0000
treeherdermozilla-beta@dcaf0a6fa115 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlong
bugs1253693
milestone47.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
Bug 1253693 - Switch prefer-es6-class React .eslintrc to prefer createClass. r=jlong MozReview-Commit-ID: 1IuYNShuBwH
devtools/.eslintrc
--- a/devtools/.eslintrc
+++ b/devtools/.eslintrc
@@ -35,17 +35,17 @@
 
     // Rules from the React plugin
     "react/display-name": 1,
     "react/no-danger": 1,
     "react/no-did-mount-set-state": 1,
     "react/no-did-update-set-state": 1,
     "react/no-direct-mutation-state": 1,
     "react/no-unknown-property": 1,
-    "react/prefer-es6-class": 1,
+    "react/prefer-es6-class": [1, "never"],
     "react/prop-types": 1,
     "react/sort-comp": [1, {
       order: [
         "propTypes",
         "everything-else",
         "render"
       ]
     }],