Index

Constructor methods

Properties

Methods

Constructor methods

constructor(logger: ILogger): RulesProvider

Parameters

Returns

RulesProvider

Properties

private activeRules: any

private globalRules: any

private logger: any

private options: any

private rulesMap: any

Methods

private createActiveRules(options: any): any

Parameters

  • options: any

Returns

any

public ensureUpToDate(options: FormatCodeOptions)

Parameters

public getRuleByName(name: string): Rule

Parameters

  • name: string

Returns

Rule

public getRuleName(rule: Rule): string

Parameters

Returns

string

public getRulesMap(): RulesMap

Returns

RulesMap