import type { Rule } from 'eslint'; /** * ESLint rule: enforce brace-depth–based indentation on standalone * `<%_ … _%>` (whitespace-slurping) EJS tags. * * This ports the `ejsIndent` option from the original Prettier plugin. * The processor tracks brace depth across all EJS tags and marks any * standalone `<%_ _%>` tag whose actual line-prefix whitespace does not * match the expected `brace-depth × 2-space` indentation with the * `slurp-needs-indent` tag type. This rule detects that type and offers * an autofix. * * Example: * ```ejs * <%_ if (generateSpringAuditor) { _%> * <%_ const foo = 1; _%> ← 4 spaces, but depth is 1 → should be 2 * <%_ } _%> * ``` * becomes: * ```ejs * <%_ if (generateSpringAuditor) { _%> * <%_ const foo = 1; _%> * <%_ } _%> * ``` */ export declare const indent: Rule.RuleModule; //# sourceMappingURL=indent.d.ts.map