diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-12 11:22:19 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-12 11:22:19 +0900 |
commit | f1d4bb8c3790d30b4db112b2c185054c119d36b5 (patch) | |
tree | 1b34908ebb79245b93753589eaf2b760edfda837 /.eslintrc | |
parent | e73d405c5640afda27775285f19516a271b5cefb (diff) |
fix .eslint for web extensions
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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", |