SpeculatorLinter
Defined in: linter.ts:18
Main linter class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SpeculatorLinter(
rules):SpeculatorLinter
Defined in: linter.ts:25
Create a new linter instance
Parameters
Section titled “Parameters”LintRule[]
Array of lint rules to use
Returns
Section titled “Returns”SpeculatorLinter
Methods
Section titled “Methods”getRules()
Section titled “getRules()”getRules():
LintRule[]
Defined in: linter.ts:95
Get available rules
Returns
Section titled “Returns”LintRule[]
lint()
Section titled “lint()”lint(
options):Promise<LintResult>
Defined in: linter.ts:36
Lint a workspace
Parameters
Section titled “Parameters”options
Section titled “options”Lint options
Returns
Section titled “Returns”Promise<LintResult>
Lint result with diagnostics