Skip to content

Commit

Permalink
Moved JSHint options into a separate file.
Browse files Browse the repository at this point in the history
This way I can use them with jshint-i and other non-make.js tools.
  • Loading branch information
valueof committed Nov 13, 2012
1 parent e0eeef6 commit aafef94
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
14 changes: 14 additions & 0 deletions jshint.json
@@ -0,0 +1,14 @@
{
"es5": true,
"boss": true,
"node": true,
"strict": true,
"white": true,
"smarttabs": true,
"maxlen": 100,
"newcap": false,
"undef": true,
"unused": true,
"onecase": true,
"indent": 2
}
16 changes: 1 addition & 15 deletions make.js
Expand Up @@ -12,21 +12,7 @@ var TESTS = [
"tests/next/unit/"
];

var OPTIONS = {
es5: true,
boss: true,
node: true,
globalstrict: true,
strict: true,
white: true,
smarttabs: true,
maxlen: 100,
newcap: false,
undef: true,
unused: true,
onecase: true,
indent: 2
};
var OPTIONS = JSON.parse(cat("./jshint.json"));

target.all = function () {
target.lint();
Expand Down

0 comments on commit aafef94

Please sign in to comment.