Skip to content
Browse files

Strict-er jshint config

  • Loading branch information...
1 parent 9350b63 commit dc2e85697dfaaf4093f9935839778b797f3127ad @thisandagain committed Feb 16, 2014
Showing with 34 additions and 1 deletion.
  1. +17 −0 test/fixtures/jshint.json
  2. +17 −1 test/governance/lint.js
View
17 test/fixtures/jshint.json
@@ -0,0 +1,17 @@
+{
+ "bitwise": true,
+ "devel": true,
+ "eqeqeq": true,
+ "immed": true,
+ "latedef": true,
+ "maxdepth": 2,
+ "maxparams": 3,
+ "newcap": true,
+ "noarg": true,
+ "node": true,
+ "proto": true,
+ "quotmark": "single",
+ "undef": true,
+ "unused": true,
+ "maxlen": 80
+}
View
18 test/governance/lint.js
@@ -1 +1,17 @@
-require('hint-hint')(__dirname + '/../../lib/*.js');
+/**
+ * Linter.
+ *
+ * @package api
+ * @author Andrew Sliwinski <andrew@diy.org>
+ */
+
+/**
+ * Dependencies
+ */
+var hint = require('hint-hint');
+var config = require('../fixtures/jshint.json');
+
+/**
+ * Export
+ */
+hint(__dirname + '/../../lib/*.js', config);

0 comments on commit dc2e856

Please sign in to comment.
Something went wrong with that request. Please try again.