Skip to content

Commit

Permalink
Move JSHint options to .jshintrc.
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Nov 4, 2012
1 parent 7830968 commit 8565f82
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
21 changes: 21 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"browser": true,
"node": true,

"curly": true,
"eqeqeq": true,
"noarg": true,
"nonew": true,
"trailing": true,
"undef": true,

"globals": {
"bootstrap": false,
"cajaVM": false,
"define": false,
"Q": true,
"ReturnValue": false,
"ses": false,
"setImmediate": false
}
}
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ design
examples
spec
.coverignore
.jshintrc
.mailmap
.npmignore
.travis.yml
Expand Down
5 changes: 0 additions & 5 deletions q.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
// vim:ts=4:sts=4:sw=4:
/*jshint browser: true, node: true,
curly: true, eqeqeq: true, noarg: true, nonew: true, trailing: true,
undef: true */
/*global define: false, Q: true, setImmediate: false,
ReturnValue: false, cajaVM: false, ses: false, bootstrap: false */
/*!
*
* Copyright 2009-2012 Kris Kowal under the terms of the MIT
Expand Down

0 comments on commit 8565f82

Please sign in to comment.