Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 1x 1x 1x 1x 1x 135562x 135562x 135562x 135562x 135562x 135562x 135562x 135562x 135562x 135562x | import {BasicRuleConfig} from "./_basic_rule_config";
// todo, change this to an enum instead
export type PatternKind = "required" | "forbidden";
export abstract class NamingRuleConfig extends BasicRuleConfig {
/** Specifies whether the pattern is forbidden (violation if name matches) or required (violation if name does not match). */
public patternKind?: PatternKind = "required";
/** A list of names to be ignored */
public ignoreNames?: string[] = [];
/** A list of patterns to be ignored. For example, you can use it to ignore ambiguous prefixes */
public ignorePatterns?: string[] = [];
}
|