@ubiquity-os/eslint-plugin-no-empty-strings
Version:
ESLint rule to disallow empty string literals in runtime/value contexts for TypeScript and JSX/TSX.
12 lines • 424 B
TypeScript
import { ESLintUtils } from "@typescript-eslint/utils";
type Options = [
{
checkWhitespaceOnly?: boolean;
checkNoSubstitutionTemplates?: boolean;
ignoreZeroWidth?: boolean;
allowContexts?: string[];
}
];
declare const rule: ESLintUtils.RuleModule<"emptyStringNotAllowed", Options, unknown, ESLintUtils.RuleListener>;
export default rule;
//# sourceMappingURL=no-empty-strings.d.ts.map