Add grunt-config in JS style check.

This commit is contained in:
Alexis Lahouze 2016-02-17 08:33:58 +01:00
parent 2db96d7ca9
commit b4f1bd854a
5 changed files with 17 additions and 6 deletions

View File

@ -1,5 +1,7 @@
'use strict';
module.exports = { module.exports = {
libs: [ libs: [
"accountant/frontend/static/build" 'accountant/frontend/static/build'
] ]
}; };

View File

@ -1,5 +1,7 @@
'use strict';
module.exports = { module.exports = {
src: [ src: [
'accountant/**/*.py' 'accountant/**/*.py'
] ]
} };

View File

@ -7,6 +7,7 @@ module.exports = {
'<%= paths.frontend_js %>' '<%= paths.frontend_js %>'
], ],
toolchain: [ toolchain: [
'Gruntfile.js' 'Gruntfile.js',
'grunt-config/*.js'
] ]
}; };

View File

@ -7,6 +7,7 @@ module.exports = {
'<%= paths.frontend_js %>' '<%= paths.frontend_js %>'
], ],
toolchain: [ toolchain: [
'Gruntfile.js' 'Gruntfile.js',
'grunt-config/*.js'
] ]
}; };

View File

@ -1,10 +1,15 @@
'use strict';
module.exports = { module.exports = {
bower: { bower: {
files: 'bower.json', files: 'bower.json',
tasks: ['wiredep'] tasks: ['wiredep']
}, },
js: { js: {
files: '<%= paths.frontend_js %>', files: [
'<%= paths.frontend_js %>',
'grunt-config/*.js'
],
tasks: ['jsdev'] tasks: ['jsdev']
}, },
py: { py: {
@ -19,7 +24,7 @@ module.exports = {
tasks: ['htmldev'] tasks: ['htmldev']
}, },
gruntfile: { gruntfile: {
files: ['Gruntfile.js'] files: ['Gruntfile.js', 'grunt-config/*.js']
}, },
requirements: { requirements: {
files: ['requirements.txt'], files: ['requirements.txt'],