From 07b052520a45af8ac35b4974f9a894a00f9991dc Mon Sep 17 00:00:00 2001 From: kkapsner Date: Sun, 24 Sep 2017 00:11:16 +0200 Subject: [PATCH] Added .eslintrc.json --- .eslintrc.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .eslintrc.json diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..bb51466 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,25 @@ +{ + "env": { + "browser": true, + "commonjs": true, + "es6": true, + "webextensions": true + }, + "parserOptions": { + "ecmaFeatures": { + "jsx": true + }, + "sourceType": "script" + }, + "rules": { + "no-const-assign": "warn", + "no-this-before-super": "warn", + "no-undef": "warn", + "no-unreachable": "warn", + "no-unused-vars": "warn", + "constructor-super": "warn", + "valid-typeof": "warn", + "brace-style": "warn", + "strict": "warn" + } +} \ No newline at end of file