diff --git a/grunt-config/clean.js b/grunt-config/clean.js index 7383930..f4bd18d 100644 --- a/grunt-config/clean.js +++ b/grunt-config/clean.js @@ -1,5 +1,7 @@ +'use strict'; + module.exports = { libs: [ - "accountant/frontend/static/build" + 'accountant/frontend/static/build' ] }; diff --git a/grunt-config/flake8.js b/grunt-config/flake8.js index 832647d..01a8e77 100644 --- a/grunt-config/flake8.js +++ b/grunt-config/flake8.js @@ -1,5 +1,7 @@ +'use strict'; + module.exports = { src: [ 'accountant/**/*.py' ] -} +}; diff --git a/grunt-config/jscs.js b/grunt-config/jscs.js index 08d2411..1059183 100644 --- a/grunt-config/jscs.js +++ b/grunt-config/jscs.js @@ -7,6 +7,7 @@ module.exports = { '<%= paths.frontend_js %>' ], toolchain: [ - 'Gruntfile.js' + 'Gruntfile.js', + 'grunt-config/*.js' ] }; diff --git a/grunt-config/jshint.js b/grunt-config/jshint.js index 907fc01..a5029ff 100644 --- a/grunt-config/jshint.js +++ b/grunt-config/jshint.js @@ -7,6 +7,7 @@ module.exports = { '<%= paths.frontend_js %>' ], toolchain: [ - 'Gruntfile.js' + 'Gruntfile.js', + 'grunt-config/*.js' ] }; diff --git a/grunt-config/watch.js b/grunt-config/watch.js index 6e9aef0..bb68c64 100644 --- a/grunt-config/watch.js +++ b/grunt-config/watch.js @@ -1,10 +1,15 @@ +'use strict'; + module.exports = { bower: { files: 'bower.json', tasks: ['wiredep'] }, js: { - files: '<%= paths.frontend_js %>', + files: [ + '<%= paths.frontend_js %>', + 'grunt-config/*.js' + ], tasks: ['jsdev'] }, py: { @@ -19,7 +24,7 @@ module.exports = { tasks: ['htmldev'] }, gruntfile: { - files: ['Gruntfile.js'] + files: ['Gruntfile.js', 'grunt-config/*.js'] }, requirements: { files: ['requirements.txt'],