summaryrefslogtreecommitdiff
path: root/.jshintrc
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-12-29 11:34:41 -0500
committergorhill <rhill@raymondhill.net>2015-12-29 11:34:41 -0500
commita944873b837b4eae98f2f0ee32ecb09cd0e32b95 (patch)
treef142f5a6a2b8795342a04d618a61f1b1f1b2ab97 /.jshintrc
parent9d06ae1223fbaa45acb16e35a78e904735cc4f6c (diff)
code review: convert static filtering's tokenizer to a global utility
Diffstat (limited to '.jshintrc')
-rw-r--r--.jshintrc27
1 files changed, 15 insertions, 12 deletions
diff --git a/.jshintrc b/.jshintrc
index df4628b9..625274fe 100644
--- a/.jshintrc
+++ b/.jshintrc
@@ -1,21 +1,24 @@
{
"browser": true,
"devel": true,
+ "eqeqeq": true,
"esnext": true,
+ "globals": {
+ "chrome": false,
+ "Components": false, // global variable in Firefox
+ "safari": false,
+ "self": false,
+ "vAPI": false,
+ "µBlock": false
+ },
"globalstrict": true,
- "undef": true,
- "unused": true,
+ "laxbreak": true,
+ "newcap": false,
"nonew": false,
+ "strict": "global",
"sub": true,
- "laxbreak": true,
+ "undef": true,
+ "unused": true,
"validthis": true,
- "newcap": false,
- "-W058": true, // suppress "Missing '()' invoking a constructor" message
- "globals": {
- "self": false,
- "vAPI": false,
- "chrome": false,
- "safari": false,
- "Components": false // global variable in Firefox
- }
+ "-W058": true // suppress "Missing '()' invoking a constructor" message
}