From 94d18836c99c0050fb54852463606b798275b1de Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Wed, 15 Aug 2018 21:40:59 +0100 Subject: [PATCH] really tidy that .jshintrc --- .jshintrc | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/.jshintrc b/.jshintrc index fe44188f..4084293c 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,19 +1,15 @@ { - "asi": true, // allow missing semicolons - "curly": true, // require braces - "eqnull": true, // ignore ==null - //"eqeqeq": true, // enforce === - "freeze": true, // don't allow override - "indent": 4, // default indent of 4 - "forin": true, // require property filtering in "for in" loops - "immed": true, // require immediate functions to be wrapped in ( ) - "nonbsp": true, // warn on unexpected whitespace breaking chars - //"strict": true, // commented out for now as it causes 100s of warnings, but want to get there eventually - //"unused": true, // Check for unused functions and variables - "loopfunc": true, // allow functions to be defined in loops - //"expr": true, // allow ternery operator syntax... - "shadow": true, // allow variable shadowing (re-use of names...) - "sub": true, // don't warn that foo['bar'] should be written as foo.bar - "proto": true, // allow setting of __proto__ in node < v0.12 - "esversion": 6 // allow es6 + "asi": true, + "curly": true, + "eqnull": true, + "freeze": true, + "indent": 4, + "forin": true, + "immed": true, + "nonbsp": true, + "loopfunc": true, + "shadow": true, + "sub": true, + "proto": true, + "esversion": 6 }