mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Build/grunt: Improve lint setup, get rid of file comment, using gruntjs specific config anyway
This commit is contained in:
parent
9fd5e7a153
commit
85ea681685
3
grunt.js
3
grunt.js
@ -1,4 +1,3 @@
|
|||||||
/*global config:true, task:true*/
|
|
||||||
function stripBanner(files) {
|
function stripBanner(files) {
|
||||||
return files.map(function(file) {
|
return files.map(function(file) {
|
||||||
return '<strip_all_banners:' + file + '>';
|
return '<strip_all_banners:' + file + '>';
|
||||||
@ -238,6 +237,8 @@ config.init({
|
|||||||
node: true
|
node: true
|
||||||
},
|
},
|
||||||
globals: {
|
globals: {
|
||||||
|
task: true,
|
||||||
|
config: true,
|
||||||
file: true,
|
file: true,
|
||||||
log: true,
|
log: true,
|
||||||
template: true
|
template: true
|
||||||
|
Loading…
Reference in New Issue
Block a user