Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteffen Lindner <mail@steffen-lindner.de>2015-08-30 21:40:45 +0300
committerSteffen Lindner <mail@steffen-lindner.de>2015-08-31 11:20:49 +0300
commitd7315a8522d574cdb728fcc18ae6453504b901ce (patch)
treecaeec2484d3fcec34e3d8a0a482ebe9e79e61248 /Gruntfile.js
parentb268270bd854d908463644b8f748d436985eb817 (diff)
JSCS Fixes
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js14
1 files changed, 9 insertions, 5 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 6671fcc11..89497d9c2 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -9,19 +9,23 @@
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @copyright Christoph Wurst 2015
*/
-module.exports = function (grunt) {
+module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
+ jshint: {
+ options: {
+ jshintrc: '.jshintrc'
+ },
+ all: ['Gruntfile.js', 'js/*.js', 'js/models/*.js', 'js/views/*.js']
+ },
jscs: {
- src: 'js/*.js',
+ src: '<%= jshint.all %>',
options: {
config: '.jscsrc',
verbose: true
}
- },
- jshint: {
- jshintrc: '.jshintrc'
}
+
});
// jscs