Home > harper.js > Linter > importIgnoredLints

Linter.importIgnoredLints() method

Import ignored lints from a JSON list to the linter. This function appends to the existing lints, if any.

Signature:

importIgnoredLints(json: string): Promise<void>;

Parameters

Parameter

Type

Description

json

string

Returns:

Promise<void>