mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-08-11 11:18:47 +08:00
lint/style-check misc config js files in project root
This commit is contained in:
+2
-4
@@ -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
@@ -43,6 +43,8 @@ module.exports = {
|
||||
maximumLineLength: 120
|
||||
},
|
||||
src: 'tests/automated/*.js'
|
||||
}
|
||||
},
|
||||
|
||||
misc: '*.js' // config files in root
|
||||
|
||||
};
|
||||
+3
-1
@@ -39,6 +39,8 @@ module.exports = {
|
||||
|
||||
srcLanguages: 'lang/*.js',
|
||||
|
||||
tests: 'tests/automated/*.js'
|
||||
tests: 'tests/automated/*.js',
|
||||
|
||||
misc: '*.js' // config files in root
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user