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 325161 fdcd2bcdfdcc5182e6734354c846405ff7381f29
parent 325160 c5338fae9902fbb19c82b77eee85a31bf5929d0e
child 325162 8bedab78c87044bd17055e5072495329ac4d15a3
push id1128
push userjlund@mozilla.com
push dateWed, 01 Jun 2016 01:31:59 +0000
treeherdermozilla-release@fe0d30de989d [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"
       ]
     }],