@builder.io/eslint-plugin-mitosis
Version:
A Mitosis plugin containing rules that help you write valid and idiomatic Mitosis code
15 lines (14 loc) • 305 B
TypeScript
/**
* Restrict rule to only files that have a '.lite' ext, multiple exts is fine
* (like file.lite.jsx).
*
* @example
* ```typescript
* isMitosisPath('file.jsx')
* // false
*
* isMitosisPath('file.lite.jsx')
* // true
* ```
*/
export default function isMitosisPath(filename: string): boolean;