Home > harper.js > Linter > setLintConfigWithJSON

Linter.setLintConfigWithJSON() method

Set the linter’s current configuration from JSON.

Signature:

setLintConfigWithJSON(config: string): Promise<void>;

Parameters

Parameter

Type

Description

config

string

Returns:

Promise<void>