Home > harper.js > Linter > contextHash
Produce a context-sensitive hash that represents a lint.
Signature:
contextHash(source: string, lint: Lint): Promise<bigint>;
Parameter |
Type |
Description |
---|---|---|
source |
string |
|
lint |
Returns:
Promise<bigint>