Commit 4cca09df authored by Robert Knight's avatar Robert Knight

Make JSHint config compatible with JSHint v2.8.x and v2.9.x

 - Use the legacy 'esnext' option only instead of both
   'esnext' and 'esversion' for compatibility with JSHint v2.8.x
   on Hound and developers who have the current stable version
   installed locally.

 - Remove the 'maxErrors' option from the JSCS config, as this
   prevents use of the '-x' option to autofix files which is
   a little annoying.
parent b3340932
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
"h/static/styles/vendor/**", "h/static/styles/vendor/**",
"node_modules/**" "node_modules/**"
], ],
"maxErrors": 10,
"disallowSpacesInAnonymousFunctionExpression": null, "disallowSpacesInAnonymousFunctionExpression": null,
"disallowSpacesInFunctionDeclaration": { "disallowSpacesInFunctionDeclaration": {
"beforeOpeningRoundBrace": true "beforeOpeningRoundBrace": true
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
"strict": "global", "strict": "global",
"undef": true, "undef": true,
"unused": true, "unused": true,
"esversion": 6,
"esnext": true, "esnext": true,
"globals": { "globals": {
"chrome": false, "chrome": false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment