Add @function as a custom jsdoc tag for the linter.
This commit is contained in:
@@ -373,7 +373,7 @@ virtual('lint', 'build/lint-timestamp', 'build/lint-generated-timestamp',
|
|||||||
def build_lint_src_timestamp(t):
|
def build_lint_src_timestamp(t):
|
||||||
t.run('%(GJSLINT)s',
|
t.run('%(GJSLINT)s',
|
||||||
'--jslint_error=all',
|
'--jslint_error=all',
|
||||||
'--custom_jsdoc_tags=todo',
|
'--custom_jsdoc_tags=todo,function',
|
||||||
'--strict',
|
'--strict',
|
||||||
t.newer(t.dependencies))
|
t.newer(t.dependencies))
|
||||||
t.touch()
|
t.touch()
|
||||||
|
|||||||
Reference in New Issue
Block a user