esfmt

command module
v0.0.0-...-7fedf4a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

README

esfmt - an opinionated, zero-configuration formatter for ES/TS/ESX/TSX

Status: total hack

In the spirit of esbuild, esfmt strives to bring the speed and convenience of a statically compiled single binary distribution to formatting TSX and its relatives.

Leveraging the excellent Treesitter will hopefully allow us to do this with relatively little effort.

Developing

Copy JS/TSX/ES/ESX into the Tree-Sitter playground. This formats the parse tree in a nice way and allows interactive selection.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL