@quri/prettier-plugin-squiggle
v0.10.0
Published
`@quri/prettier-plugin-squiggle` is a [Prettier](https://prettier.io/docs/en/plugins.html) plugin for formatting Squiggle code.
Downloads
486
Keywords
Readme
Prettier for Squiggle
@quri/prettier-plugin-squiggle
is a Prettier plugin for formatting Squiggle code.
How to use
Install Prettier and this package, @quri/prettier-plugin-squiggle
. It should active automatically.
How to develop
- read https://prettier.io/docs/en/plugins.html
- read https://github.com/prettier/prettier/blob/main/commands.md
- refer to
src/ast/peggyHelpers.ts
in squiggle-lang for Squiggle's AST type - use tests to check your changes