Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move JSHint config to .jshintrc and .jshintignore

  • Loading branch information...
commit b7f5c9baf6f2b1671f39d79e69cf1b751692d988 1 parent 8f30e2a
@nschonni nschonni authored
Showing with 23 additions and 18 deletions.
  1. +4 −0 .jshintignore
  2. +18 −0 .jshintrc
  3. +1 −18 Gruntfile.js
View
4 .jshintignore
@@ -0,0 +1,4 @@
+node_modules/
+release/
+lib/
+build/
View
18 .jshintrc
@@ -0,0 +1,18 @@
+{
+ "curly": true,
+ "immed": true,
+ "latedef": true,
+ "newcap": true,
+ "noarg": true,
+ "sub": true,
+ "undef": true,
+ "boss": true,
+ "eqnull": true,
+ "forin": true,
+ "noempty": true,
+ "rhino": false,
+ "jquery": true,
+ "globals": {
+ "CSSLint": true
+ }
+}
View
19 Gruntfile.js
@@ -156,24 +156,7 @@ module.exports = function(grunt) {
},
jshint: {
options: {
- curly: true,
- //eqeqeq: true, TODO: Leaving off due to errors
- immed: true,
- latedef: true,
- newcap: true,
- noarg: true,
- sub: true,
- undef: true,
- //unused: true, TODO: Leaving off due to errors around unused instances of CSSLint
- boss: true,
- eqnull: true,
- // Copied from build.xml
- forin: true,
- noempty: true,
- rhino: false,
- globals: {
- jQuery: true
- }
+ jshintrc: ".jshintrc"
},
gruntfile: {
src: 'Gruntfile.js'
Please sign in to comment.
Something went wrong with that request. Please try again.