Home > harper.js > Linter > getStructuredLintConfigJSON

Linter.getStructuredLintConfigJSON() method

Get the linter's current structured configuration as JSON. This is a presentation-oriented view over the underlying flat config. Persisted config changes must still be applied through the flat setLintConfig API.

Signature:

getStructuredLintConfigJSON(): Promise<string>;

Returns:

Promise<string>