34 строки
793 B
JavaScript
34 строки
793 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('jsonlint', {
|
|
config: {
|
|
src: [
|
|
'.bowerrc',
|
|
'.jshintrc'
|
|
]
|
|
},
|
|
app: {
|
|
src: [
|
|
'**/*.json',
|
|
'!<%= yeoman.app %>/bower_components/**',
|
|
'!<%= yeoman.app %>/i18n/**',
|
|
'!<%= yeoman.app %>/scripts/vendor/**',
|
|
'!<%= yeoman.app %>/tests/**',
|
|
'!<%= yeoman.dist %>/**',
|
|
'!<%= yeoman.server %>/**',
|
|
'!node_modules/**'
|
|
]
|
|
},
|
|
i18n: {
|
|
src: [
|
|
'<%= yeoman.app %>/i18n/**/*.json'
|
|
]
|
|
}
|
|
});
|
|
};
|