Skip to main content

Crate nargo_formatter

Crate nargo_formatter 

Source
Expand description

Nargo 代码格式化工具,用于统一 Nargo 项目的代码风格。

该模块提供了一个 NargoFormatter 结构体,用于格式化 Nargo、TS、TSX、JS、JSX 文件。 它能够处理 Nargo 单文件组件(SFC)的不同区块,包括 <template><script><style> 和自定义块。

Structs§

FormatterConfig
格式化配置选项
NargoFormatter
格式化 Nargo 相关文件的工具

Enums§

IndentType
缩进类型
TrailingComma
尾随逗号选项