From 6926de1108b1a084e133d5f8363f080d7c20a99f Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Fri, 9 Feb 2018 17:04:12 +0100 Subject: Use classes instead of stateless functions for Components --- .eslintrc.js | 3 +++ 1 file changed, 3 insertions(+) (limited to '.eslintrc.js') 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", } }; -- cgit v1.1