Uruchom JSLint na pliku .js z konsoli debugowania w chrome lub firefox
Czy można uruchomićJSLint
na jednym lub więcej plikach .js po załadowaniu JSLint w nagłówku z konsoli debugowania / programisty w chrome lub Firefox?
Powodem, dla którego chcę to zrobić, jest to, że chcę drukowaćconsole.log()
parsowanieJSLint
wJSON
, mówi w dokumentacji:
// You can obtain the parse tree that JSLint constructed while parsing. The
// latest tree is kept in JSLINT.tree. A nice stringication can be produced
// with
// JSON.stringify(JSLINT.tree, [
// 'string', 'arity', 'name', 'first',
// 'second', 'third', 'block', 'else'
// ], 4));