eslint-plugin-formatjs
Version:
ESLint plugin for formatjs
14 lines (13 loc) • 443 B
TypeScript
import { RuleModule } from '@typescript-eslint/utils/ts-eslint';
type PropMatcher = readonly [TagNamePattern: string, PropNamePattern: string][];
type Config = {
props?: {
include?: PropMatcher;
exclude?: PropMatcher;
};
};
type MessageIds = 'noLiteralStringInJsx';
type Options = [Config?];
export declare const name = "no-literal-string-in-jsx";
export declare const rule: RuleModule<MessageIds, Options>;
export {};