private async lintContent()

in jshint-server/src/server.ts [517:522]


	private async lintContent(content: string, fsPath: string): Promise<JSHintError[]> {
		let JSHINT: JSHINT = (await this.getLib()).JSHINT;
		let options = this.options.getOptions(fsPath) || {};
		JSHINT(content, options, options.globals || {});
		return JSHINT.errors;
	}