prettier-plugin-litsx

JSON →
library 0.3.3 ·javascript
verified Jun 4, 2026

Official Prettier plugin for formatting LitSX-authored source files (`.litsx` and `.litsx.jsx`). Version 0.3.3 requires Prettier ^3.0.0 and supports ESM and CJS. It preserves LitSX-specific syntax such as `@event`, `.prop`, `?attr`, and static CSS templates. CSS inside `static styles = \`...\`;` is formatted with Prettier's CSS parser only when no `${...}` interpolation is present. This plugin does not handle plain `.tsx` or `.jsx` files, focusing solely on LitSX formats. It is actively maintained with a public release.