aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-02-09 17:04:12 +0100
committerNoah Loomans <noahloomans@gmail.com>2018-02-09 17:04:12 +0100
commit6926de1108b1a084e133d5f8363f080d7c20a99f (patch)
treece27ac5a024e6a0e342037d3ea03ddf7ca6c3c82 /.eslintrc.js
parent8d5bccc8984618c9282e9592882835819306fa07 (diff)
Use classes instead of stateless functions for Components
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js3
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",
}
};