diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-12 09:32:17 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-12 09:32:17 -0800 |
commit | c3f1328c3b44e69fafc049e230ba4c09fae40e8c (patch) | |
tree | 97556d63b4c4977ee1b31a7601ae442c66b2866e | |
parent | 3f02b59874a2a2ac0af4b81008b55b14d95bb70d (diff) |
Improved eslint.json.
-rw-r--r-- | eslint.json | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/eslint.json b/eslint.json index 408bc5b..b3af4fe 100644 --- a/eslint.json +++ b/eslint.json @@ -1,12 +1,18 @@ { "env": { - "browser": true, + "browser": false, "node": true, }, "rules": { "camelcase": false, "quotes": false, "no-process-exit": false, - "no-empty": false + "no-empty": false, + "new-caps": { + "newIsCap": true, + "capIsNew": true, + "newIsCapExceptions": [], + "capIsNewExceptions": [] + } } } |