@uniflowed/config 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/internal/schema.js +12 -0
- package/package.json +1 -1
package/internal/schema.js
CHANGED
|
@@ -703,6 +703,8 @@ export type UniflowedConfig = {
|
|
|
703
703
|
readonly fmt?: {
|
|
704
704
|
readonly indentWidth?: number,
|
|
705
705
|
readonly lineWidth?: number,
|
|
706
|
+
/** Align related match arms, component hook bindings, and object entries. */
|
|
707
|
+
readonly align?: boolean,
|
|
706
708
|
readonly nonFlow?: {
|
|
707
709
|
readonly formatter?: "biome" | "prettier" | "none",
|
|
708
710
|
/**
|
|
@@ -718,6 +720,16 @@ export type UniflowedConfig = {
|
|
|
718
720
|
},
|
|
719
721
|
readonly quotes?: "single" | "double",
|
|
720
722
|
readonly semicolons?: boolean,
|
|
723
|
+
/**
|
|
724
|
+
* Paths `uf fmt` leaves alone, on top of the top-level `ignore`.
|
|
725
|
+
*
|
|
726
|
+
* For a path the other commands should still read — a nested project
|
|
727
|
+
* formatted from its own directory with its own `fmt` settings, which a
|
|
728
|
+
* run from here would reprint in this project's style. The same grammar
|
|
729
|
+
* as `ignore`: a bare name matches a directory at any depth, a path names
|
|
730
|
+
* one place.
|
|
731
|
+
*/
|
|
732
|
+
readonly ignore?: $ReadOnlyArray<string>,
|
|
721
733
|
},
|
|
722
734
|
/**
|
|
723
735
|
* Paths no command walks into.
|