From f1d4bb8c3790d30b4db112b2c185054c119d36b5 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 12 Aug 2017 11:22:19 +0900 Subject: [PATCH] fix .eslint for web extensions --- .eslintrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintrc b/.eslintrc index 04a6d49..38d7ea9 100644 --- a/.eslintrc +++ b/.eslintrc @@ -2,7 +2,8 @@ "env": { "es6": true, "node" : true, - "browser" : true + "browser" : true, + "webextensions": true }, "parser": "babel-eslint", "parserOptions": { @@ -20,7 +21,7 @@ "newline-before-return": "off", "multiline-ternary": "off", "max-statements": ["error", 15], - "no-console": ["error", { allow: ["warn", "error"] }], + "no-console": "off", "no-magic-numbers": ["error", { "ignore": [0, 1, 2] }], "no-param-reassign": "off", "no-ternary": "off",