@ubiquity-os/eslint-plugin-no-empty-strings
Version:
ESLint rule to disallow empty string literals in runtime/value contexts for TypeScript and JSX/TSX.
16 lines • 599 B
TypeScript
/**
* ESLint plugin export under the namespace "ubiquity-os"
* Consumers will use rule key: "ubiquity-os/no-empty-strings"
*/
declare const plugin: {
rules: {
"no-empty-strings": import("@typescript-eslint/utils/ts-eslint").RuleModule<"emptyStringNotAllowed", [{
checkWhitespaceOnly?: boolean;
checkNoSubstitutionTemplates?: boolean;
ignoreZeroWidth?: boolean;
allowContexts?: string[];
}], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
};
};
export default plugin;
//# sourceMappingURL=index.d.ts.map