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