From f90ad11bcdf479bccf2b2889e8bc99e8e504ebcf Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sat, 6 Jan 2018 08:05:27 +0100 Subject: [PATCH] adding JSHint configuration --- .jshintrc | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .jshintrc diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 0000000..cf63493 --- /dev/null +++ b/.jshintrc @@ -0,0 +1,27 @@ +{ + "bitwise": true, + "curly": true, + "eqeqeq": true, + "esversion": 5, + "forin": true, + "freeze": true, + "futurehostile": true, + "latedef": "nofunc", + "maxcomplexity": 7, + "maxdepth": 3, + "maxparams": 3, + "maxstatements": 100, + "noarg": true, + "nonbsp": true, + "nonew": true, + "singleGroups": true, + "strict": "global", + "undef": true, + "unused": true, + "jquery": true, + "globals": { + "sjcl": false, + "DOMPurify": false + } +} +