Führen Sie JSLint für eine .js-Datei über die Debug-Konsole in Chrome oder Firefox aus

Ist es möglich zu rennenJSLint auf eine oder mehrere .js-Dateien durch anschließendes Laden von JSLint im Header von der Debugging- / Entwicklerkonsole in Chrome oder Firefox?

Der Grund, warum ich das tun möchte, ist, dass ich drucken möchteconsole.log() das Parsen vonJSLint imJSONIn der Dokumentation heißt es:

// 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));

Antworten auf die Frage(1)

Ihre Antwort auf die Frage