-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -176,30 +176,15 @@ grunt.initConfig({ | |
}) | ||
}, | ||
jshint: { | ||
ui: { | ||
options: { | ||
jshintrc: "ui/.jshintrc" | ||
}, | ||
files: { | ||
src: "ui/*.js" | ||
} | ||
}, | ||
grunt: { | ||
options: { | ||
jshintrc: ".jshintrc" | ||
}, | ||
files: { | ||
src: [ "Gruntfile.js", "build/**/*.js" ] | ||
} | ||
options: { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
scottgonzalez
Author
Member
|
||
jshintrc: true | ||
}, | ||
tests: { | ||
options: { | ||
jshintrc: "tests/.jshintrc" | ||
}, | ||
files: { | ||
src: "tests/unit/**/*.js" | ||
} | ||
} | ||
src: [ | ||
"ui/*.js", | ||
"Gruntfile.js", | ||
"build/**/*.js", | ||
"tests/unit/**/*.js" | ||
] | ||
}, | ||
csslint: { | ||
base_theme: { | ||
|
@scottgonzalez Is it correct?
jshint
is a multi-task, it should always have a target (there may be only one of them but it should exist).