fxa-content-server/grunttasks/jshint.js

24 строки
590 B
JavaScript

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
module.exports = function (grunt) {
'use strict';
grunt.config('jshint', {
options: {
jshintrc: '.jshintrc',
reporter: require('jshint-stylish')
},
grunt: [
'Gruntfile.js',
'grunttasks/{,*/}*.js'
],
all: [
'<%= yeoman.app %>/scripts/{,*/}*.js',
'!<%= yeoman.app %>/scripts/vendor/*',
'tests/{,*/}*.js'
]
});
};