eslint-plugin-lingui
Version:
ESLint plugin for Lingui
20 lines (19 loc) • 557 B
TypeScript
import { ESLintUtils } from '@typescript-eslint/utils';
type MatcherDef = string | {
regex: {
pattern: string;
flags?: string;
};
};
export type Option = {
ignore?: string[];
ignoreFunctions?: string[];
ignoreNames?: MatcherDef[];
ignoreMethodsOnTypes?: string[];
useTsTypes?: boolean;
};
export declare const name = "no-unlocalized-strings";
export declare const rule: ESLintUtils.RuleModule<string, Option[], import("../create-rule").ExtraRuleDocs, ESLintUtils.RuleListener> & {
name: string;
};
export {};