aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-08-12 11:22:19 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-08-12 11:22:19 +0900
commitf1d4bb8c3790d30b4db112b2c185054c119d36b5 (patch)
tree1b34908ebb79245b93753589eaf2b760edfda837 /.eslintrc
parente73d405c5640afda27775285f19516a271b5cefb (diff)
fix .eslint for web extensions
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc5
1 files 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",