diff --git a/Gruntfile.js b/Gruntfile.js index 8996547..7315761 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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 diff --git a/jscs.conf.js b/jscs.conf.js index 2c94549..0cef624 100644 --- a/jscs.conf.js +++ b/jscs.conf.js @@ -43,6 +43,8 @@ module.exports = { maximumLineLength: 120 }, src: 'tests/automated/*.js' - } + }, + + misc: '*.js' // config files in root }; \ No newline at end of file diff --git a/jshint.conf.js b/jshint.conf.js index bfb27d6..24e0bc7 100644 --- a/jshint.conf.js +++ b/jshint.conf.js @@ -39,6 +39,8 @@ module.exports = { srcLanguages: 'lang/*.js', - tests: 'tests/automated/*.js' + tests: 'tests/automated/*.js', + + misc: '*.js' // config files in root }; \ No newline at end of file