From a35d413b35f0425be66fea08119596dcdbc0b480 Mon Sep 17 00:00:00 2001 From: wpioneer Date: Sun, 21 Jan 2018 02:59:25 +0300 Subject: [PATCH] Update eslint config --- .eslintrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.eslintrc b/.eslintrc index 46cc8bb..35803bf 100644 --- a/.eslintrc +++ b/.eslintrc @@ -10,15 +10,15 @@ "graphql": true }, "rules": { - "global-require": [0], "react/jsx-filename-extension": [0], - "react/prefer-es6-class": [0], "react/prefer-stateless-function": [0], - "react/forbid-prop-types": [0], + "react/prop-types": [0], "import/no-extraneous-dependencies": [0], "comma-dangle": ["error", "never"], + "jsx-a11y/anchor-is-valid": [0], + "prefer-destructuring": [0], + "object-curly-newline": ["error", { "multiline": true, "minProperties": 5 }], "arrow-body-style": ["error", "as-needed", { "requireReturnForObjectLiteral": true }], - "import/no-unresolved": [0], "import/extensions": [0], "no-console": "off" }