@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.
Files changed (2) hide show
  1. package/internal/schema.js +12 -0
  2. package/package.json +1 -1
@@ -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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniflowed/config",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "Flow declarations for @uniflowed/config, part of the Unified Toolchain for Flow.",
5
5
  "type": "module",
6
6
  "license": "MIT",