Bug 1315922 - enable react/prop-types eslint rule for devtools;r=jryans
authorJulian Descottes <jdescottes@mozilla.com>
Tue, 08 Nov 2016 11:33:48 +0100
changeset 374980 56150dbd34b36e3240ec3cbd1f4f92e2be8835a5
parent 374979 62c0f953fd6d9337b9f757cba7ea01f21b3eaf10
child 374981 05ba56765a31727b97475dcd7644598a99909010
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjryans
bugs1315922
milestone53.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 1315922 - enable react/prop-types eslint rule for devtools;r=jryans MozReview-Commit-ID: KT0v8CQ6DON
devtools/.eslintrc.js
--- a/devtools/.eslintrc.js
+++ b/devtools/.eslintrc.js
@@ -51,18 +51,17 @@ module.exports = {
     // Rules from the React plugin
     "react/display-name": "error",
     "react/no-danger": "error",
     "react/no-did-mount-set-state": "error",
     "react/no-did-update-set-state": "error",
     "react/no-direct-mutation-state": "error",
     "react/no-unknown-property": "error",
     "react/prefer-es6-class": ["warn", "never"],
-    // Disabled temporarily until errors are fixed.
-    "react/prop-types": "off",
+    "react/prop-types": "error",
     "react/sort-comp": ["error", {
       order: [
         "lifecycle",
         "everything-else",
         "render"
       ],
       groups: {
         lifecycle: [