From 202bc32a0607714aaaae913f35bb714ccbee93da Mon Sep 17 00:00:00 2001 From: zmagod Date: Wed, 9 Aug 2017 16:14:39 +0200 Subject: [PATCH] fix eslint --- .eslintrc.json | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 7295ef418..79a1fecc8 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -6,11 +6,7 @@ "node": true }, "plugins": ["react", "prettier"], - "extends": [ - "airbnb", - "prettier", - "prettier/react" - ], + "extends": ["airbnb", "prettier", "prettier/react"], "parser": "babel-eslint", "parserOptions": { "sourceType": "module", @@ -21,6 +17,13 @@ } }, "rules": { + "import/no-unresolved": [ + "error", + { + "ignore": ["app/javascript/"] + } + ], + "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], "spaced-comment": [ "error", "always",