diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-02-09 17:04:12 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-02-09 17:04:12 +0100 |
commit | 6926de1108b1a084e133d5f8363f080d7c20a99f (patch) | |
tree | ce27ac5a024e6a0e342037d3ea03ddf7ca6c3c82 /.eslintrc.js | |
parent | 8d5bccc8984618c9282e9592882835819306fa07 (diff) |
Use classes instead of stateless functions for Components
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index 389b34b..da38fd5 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,15 +1,18 @@ module.exports = { "extends": "airbnb", + "parser": "babel-eslint", "env": { "browser": true, "node": true, "jest": true, }, "rules": { + "strict": "off", "react/jsx-filename-extension": ["error", { "extensions": [".js"] }], "no-underscore-dangle": ["error", { "allow": ["_test"] }], "class-methods-use-this": "off", "no-prototype-builtins": "off", "react/forbid-prop-types": "off", + "react/prefer-stateless-function": "off", } }; |