diff options
author | Hendrik Leppelsack <hendrik@leppelsack.de> | 2016-03-19 12:02:13 +0100 |
---|---|---|
committer | Hendrik Leppelsack <hendrik@leppelsack.de> | 2016-03-19 12:05:38 +0100 |
commit | 65e2348b14baa819e8748b8340647f95381a66b8 (patch) | |
tree | 57a5b8c08a3e549e7619915bdc3959da3b8afe83 /.eslintrc.json | |
parent | aef99a78b98800fa2854c6e1a1b7b048090c1a78 (diff) |
remove globals and warn for unused variables
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 72db7eb1..a967bfc4 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,12 +1,10 @@ { "extends": "eslint:recommended", "rules": { - "no-undef": "off", - "no-unused-vars": "off", - "eqeqeq": ["warn", "smart"], "no-console": "warn", "no-loop-func": "warn", + "no-unused-vars": "warn", "block-spacing": "error", "camelcase": "error", @@ -20,6 +18,17 @@ "quotes": ["error", "single", "avoid-escape"], "semi": "error", "space-before-blocks": "error" - + }, + "env": { + "browser": true, + "jquery": true + }, + "globals": { + "angular": false, + "vCard": false, + "_": false, + "OC": false, + "t": false, + "dav": false } } |