@owenlamont/ryl-linux-x64-musl 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 (3) hide show
  1. package/README.md +9 -3
  2. package/bin/ryl +0 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -59,6 +59,10 @@ cargo install ryl # cargo
59
59
  `comments`, `comments-indentation`, `new-line-at-end-of-file`,
60
60
  `new-lines`, and `quoted-strings`. The set of rules that may apply
61
61
  fixes is configurable via the TOML `[fix]` table.
62
+ - `--diff` previews those safe fixes as a unified diff on stdout instead
63
+ of writing them (modelled on `ruff check --diff`); it is mutually
64
+ exclusive with `--fix`, works with stdin, and exits `1` iff some file
65
+ would change.
62
66
  - TOML is the recommended configuration format and supports ryl-only
63
67
  features that have no upstream equivalent: the `[fix]` table,
64
68
  `[per-file-ignores]`, and rule options such as
@@ -68,8 +72,9 @@ cargo install ryl # cargo
68
72
  in TOML use `[files].yaml`.
69
73
  - YAML embedded in Markdown (front matter and fenced `yaml`/`yml` blocks)
70
74
  can be linted by listing globs under `[files].markdown`; diagnostics map back
71
- to the Markdown file. It is off by default and check-only (`--fix` does not
72
- modify Markdown). See <https://ryl-docs.pages.dev/markdown/>.
75
+ to the Markdown file. It is off by default; `--fix` writes safe fixes back into
76
+ the embedded blocks and `--diff` previews them at the host-file level. See
77
+ <https://ryl-docs.pages.dev/markdown/>.
73
78
  - yamllint-style YAML configuration is also accepted (`.yamllint`,
74
79
  `.yamllint.yml`, `.yamllint.yaml`) for drop-in compatibility, including
75
80
  the built-in `default`, `relaxed`, and `empty` presets via `extends`.
@@ -85,7 +90,8 @@ cargo install ryl # cargo
85
90
  `ignore`) use that filename. Without it, diagnostics are labelled
86
91
  `<stdin>`, config is anchored at the current working directory, and
87
92
  all path-based filtering is skipped so every enabled rule runs.
88
- `-` cannot be combined with other inputs or with `--fix`.
93
+ `-` cannot be combined with other inputs; `--fix` cannot read from
94
+ stdin, but `--diff` can.
89
95
  - Run `ryl --help` for the authoritative CLI reference.
90
96
 
91
97
  For installation walkthroughs, configuration presets, and per-rule
package/bin/ryl CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owenlamont/ryl-linux-x64-musl",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "Fast YAML linter inspired by yamllint",
5
5
  "author": "Owen Lamont",
6
6
  "license": "MIT",