@owenlamont/ryl-linux-x64-musl 0.9.2 → 0.10.1

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 +18 -7
  2. package/bin/ryl +0 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -9,9 +9,10 @@ Full documentation lives at <https://ryl-docs.pages.dev/>.
9
9
  ## Compatibility note
10
10
 
11
11
  - `ryl` aims to match `yamllint` behaviour and includes many parity tests.
12
- - `ryl` uses the `saphyr` parser stack, while `yamllint` uses the `PyYAML`
13
- parser stack.
14
- - `saphyr` and `PyYAML` do not always agree on which files are valid YAML.
12
+ - `ryl` uses the `granit-parser` parser stack, while `yamllint` uses the
13
+ `PyYAML` parser stack.
14
+ - `granit-parser` and `PyYAML` do not always agree on which files are valid
15
+ YAML.
15
16
  - **`ryl` targets YAML 1.2 strictly.** `yamllint` defaults to YAML 1.1
16
17
  semantics, so bareword booleans like `yes` / `no` / `on` / `off` (and
17
18
  case variants) are plain strings in `ryl` and booleans in `yamllint`.
@@ -65,6 +66,13 @@ cargo install ryl # cargo
65
66
  config discovery) and exits, without running rules. `--no-warnings`
66
67
  suppresses warning-level diagnostics in the output. `--strict` turns a
67
68
  warning-only run into exit code `2`.
69
+ - Pass `-` as the input to read YAML from stdin (ruff convention). Add
70
+ `--stdin-filename <PATH>` so diagnostics, project-config discovery,
71
+ and path-based filtering (`yaml-files`, per-file-ignores, per-rule
72
+ `ignore`) use that filename. Without it, diagnostics are labelled
73
+ `<stdin>`, config is anchored at the current working directory, and
74
+ all path-based filtering is skipped so every enabled rule runs.
75
+ `-` cannot be combined with other inputs or with `--fix`.
68
76
  - Run `ryl --help` for the authoritative CLI reference.
69
77
 
70
78
  For installation walkthroughs, configuration presets, and per-rule
@@ -97,10 +105,13 @@ linting and developer automation, especially:
97
105
  template to follow for Rust tooling and showing me almost the only dev
98
106
  tool I was still using after this that wasn't written in Rust was
99
107
  yamllint (which inspired me to tackle this project).
100
- - [saphyr](https://github.com/saphyr-rs/saphyr) - ryl is built on saphyr
101
- and saphyr's developers were very patient in showing some of the
102
- nuance and complexity of parsing YAML which I was embarrassingly
103
- ignorant of when starting ryl.
108
+ - [saphyr](https://github.com/saphyr-rs/saphyr) - ryl's vendored YAML DOM
109
+ is derived from saphyr, and saphyr's developers were very patient in
110
+ showing some of the nuance and complexity of parsing YAML which I was
111
+ embarrassingly ignorant of when starting ryl.
112
+ - [granit-parser](https://github.com/bourumir-wyngs/granit-parser) - a
113
+ `saphyr-parser` fork with comment and style metadata that ryl uses for
114
+ event-stream parsing.
104
115
  - [esbuild](https://github.com/evanw/esbuild) and
105
116
  [biome](https://github.com/biomejs/biome) - for providing the "binary
106
117
  wrapper" blueprint for distributing high-performance native tools via
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.9.2",
3
+ "version": "0.10.1",
4
4
  "description": "Fast YAML linter inspired by yamllint",
5
5
  "author": "Owen Lamont",
6
6
  "license": "MIT",