From 29eb306934a4c548966a7eace524073e782f6cc2 Mon Sep 17 00:00:00 2001 From: Igor Gassmann Date: Wed, 13 Dec 2017 18:50:17 -0300 Subject: [PATCH] Add electron as a core module for ESLint --- .eslintrc.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 39d1f5f24..8101e35be 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -12,7 +12,10 @@ "webpack": { "config": "webpack.renderer.additions.js" } - } + }, + "import/core-modules": [ + "electron" + ] }, "parser": "babel-eslint", "env": {