Skip to content
Browse files

homogenize jshint options

  • Loading branch information...
1 parent 7f23198 commit 4b976706c7b5c2eb694de79260249d32ec0b43f0 @mikesherov committed Oct 16, 2012
Showing with 15 additions and 15 deletions.
  1. +14 −12 .jshintrc
  2. +1 −3 grunt.js
View
26 .jshintrc
@@ -1,14 +1,16 @@
{
- "curly": true,
- "eqeqeq": true,
- "eqnull": true,
- "expr": true,
- "latedef": true,
- "noarg": true,
- "node": true,
- "quotmark": "double",
- "smarttabs": true,
- "trailing": true,
- "undef": true,
- "unused": true
+ "options": {
+ "curly": true,
+ "eqeqeq": true,
+ "eqnull": true,
+ "expr": true,
+ "latedef": true,
+ "noarg": true,
+ "node": true,
+ "quotmark": "double",
+ "smarttabs": true,
+ "trailing": true,
+ "undef": true,
+ "unused": true
+ }
}
View
4 grunt.js
@@ -5,8 +5,6 @@
*
*/
-/*global process:true*/
-
module.exports = function( grunt ) {
"use strict";
@@ -93,7 +91,7 @@ module.exports = function( grunt ) {
}
return {
- options: jshintrc(),
+ grunt: jshintrc(),
dist: jshintrc( "src/" ),
tests: jshintrc( "test/" )
};

0 comments on commit 4b97670

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