lint/style-check misc config js files in project root

This commit is contained in:
Adam Shaw
2014-01-31 15:15:13 -08:00
parent aecd5a49ed
commit d4eb825d69
3 changed files with 8 additions and 6 deletions
+2 -4
View File
@@ -311,11 +311,9 @@ module.exports = function(grunt) {
grunt.registerTask('check', 'Lint and check code style', [
'jscs',
'jshint:srcModules',
'jshint:srcLanguages',
'jshint:srcModules', // so we can fix most quality errors in their original files
'lumbar:build',
'jshint:builtModules',
'jshint:tests',
'jshint' // will run srcModules again but oh well
]);
// configs located elsewhere
+3 -1
View File
@@ -43,6 +43,8 @@ module.exports = {
maximumLineLength: 120
},
src: 'tests/automated/*.js'
}
},
misc: '*.js' // config files in root
};
+3 -1
View File
@@ -39,6 +39,8 @@ module.exports = {
srcLanguages: 'lang/*.js',
tests: 'tests/automated/*.js'
tests: 'tests/automated/*.js',
misc: '*.js' // config files in root
};