Home > harper.js > Linter > contextHash

Linter.contextHash() method

Produce a context-sensitive hash that represents a lint.

Signature:

contextHash(source: string, lint: Lint): Promise<bigint>;

Parameters

Parameter

Type

Description

source

string

lint

Lint

Returns:

Promise<bigint>