javascript - Configuring JSHint for Vim -


i installed jshint me out debugging javascript code. jshint seems working flawlessly want tweak suit me better.

for exampled. want disable warning "wxxx", error "exxx" or add settings. how using global .jshintrc file?

currently have ~/.jshintrc looks this:

{    //settings    "debug": true',    "devel": true',    //and more settings     "-wxxx": false,    "-wxxx": false,    "-exxx": false } 

but far can tell doing nothing.

to disable warning, have use "-wxxx": true.

you can't disable errors (exxx): http://jshint.com/docs/

this syntax works warnings (code starts w), doesn't work errors (code starts e).


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -