javascript - How to disable extra space checking for google closure linter? -


google closure linter give warning every line in following code, since there space after key name. there way disable space checking? can't find document configure .gjslintrc file.

i can't find right flag use in " gjslint --help" result.

var ngtemplatesoptions = {     prefix    : '/',     module    : 'lc.directive.tpls',     standalone: false,     htmlmin   : {         collapsebooleanattributes    : true,         collapsewhitespace           : true,         removeattributequotes        : true,         removecomments               : true, // if don't use comment directives!         removeemptyattributes        : true,         removeredundantattributes    : true,         removescripttypeattributes   : true,         removestylelinktypeattributes: true     } }; 

you can disable specific errors using disable flag. in case, want following:

gjslint --strict --disable 0001,0002 yourfile.js 

where, error code 0001 signifies space , error code 0002 signifies missing space. depending on situation, might want ignore indentation erorrs. in case, want add error code 0006 list.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -