@owenlamont/ryl-linux-x64-musl 0.5.0 → 0.7.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/README.md +27 -1
- package/bin/ryl +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -105,6 +105,10 @@ Options:
|
|
|
105
105
|
parsable) [default: auto]
|
|
106
106
|
[possible values: auto, standard, colored,
|
|
107
107
|
github, parsable]
|
|
108
|
+
--print-toml-config-schema Print the JSON Schema for ryl TOML config
|
|
109
|
+
and exit
|
|
110
|
+
--print-yaml-config-schema Print the JSON Schema for yamllint-compatible
|
|
111
|
+
YAML config and exit
|
|
108
112
|
--fix Apply safe fixes in place before reporting
|
|
109
113
|
remaining diagnostics
|
|
110
114
|
--migrate-configs Convert discovered legacy YAML config files
|
|
@@ -170,6 +174,9 @@ Example benchmark figure (5x5 matrix, 5 runs per point):
|
|
|
170
174
|
- Flags:
|
|
171
175
|
- `-c, --config-file <FILE>`: path to a YAML or TOML config file.
|
|
172
176
|
- `-d, --config-data <YAML>`: inline YAML config (highest precedence).
|
|
177
|
+
- `--print-toml-config-schema`: print the JSON Schema for `.ryl.toml` / `ryl.toml` / `[tool.ryl]`.
|
|
178
|
+
- `--print-yaml-config-schema`: print the JSON Schema for yamllint-compatible
|
|
179
|
+
YAML config files such as `.yamllint` / `.yamllint.yml` / `.yamllint.yaml`.
|
|
173
180
|
- `--fix`: apply safe fixes in place before reporting remaining diagnostics.
|
|
174
181
|
- `--list-files`: print files that would be linted after applying ignores and exit.
|
|
175
182
|
- `--migrate-configs`: discover legacy YAML configs and plan TOML migration.
|
|
@@ -198,8 +205,24 @@ Example benchmark figure (5x5 matrix, 5 runs per point):
|
|
|
198
205
|
- Presets and extends: supports yamllint’s built-in `default`, `relaxed`, and
|
|
199
206
|
`empty` via `extends`. Rule maps are deep-merged; scalars/sequences overwrite.
|
|
200
207
|
- TOML preset examples: see
|
|
201
|
-
[docs/config-presets.md](/
|
|
208
|
+
[docs/config-presets.md](https://github.com/owenlamont/ryl/blob/main/docs/config-presets.md)
|
|
202
209
|
for `default`/`relaxed` equivalents.
|
|
210
|
+
- Canonical schema artifacts are checked into this repo as:
|
|
211
|
+
- `ryl.toml.schema.json` for `.ryl.toml` / `ryl.toml` / `[tool.ryl]`
|
|
212
|
+
- `ryl.yaml.schema.json` for yamllint-compatible YAML config files such as
|
|
213
|
+
`.yamllint` / `.yamllint.yml` / `.yamllint.yaml`
|
|
214
|
+
- SchemaStore sync only targets the native TOML config and publishes a draft-07
|
|
215
|
+
projection for `ryl.toml` / `.ryl.toml`. SchemaStore cannot target the
|
|
216
|
+
`[tool.ryl]` table inside `pyproject.toml`, so that remains covered by the
|
|
217
|
+
broader `pyproject.toml` schema association.
|
|
218
|
+
- Automatic release-time SchemaStore sync is currently left commented out in
|
|
219
|
+
`release.yml`; run the sync workflow manually to test it in isolation before
|
|
220
|
+
re-enabling the release hook.
|
|
221
|
+
- Regenerate them with:
|
|
222
|
+
- `cargo run --quiet --bin ryl -- --print-toml-config-schema > ryl.toml.schema.json`
|
|
223
|
+
- `cargo run --quiet --bin ryl -- --print-yaml-config-schema > ryl.yaml.schema.json`
|
|
224
|
+
- Print the SchemaStore projection locally with:
|
|
225
|
+
- `uv run scripts/print_ryl_schemastore_schema.py > /tmp/ryl.schemastore.json`
|
|
203
226
|
|
|
204
227
|
Example TOML config (`.ryl.toml`):
|
|
205
228
|
|
|
@@ -222,6 +245,9 @@ fixable = ["ALL"]
|
|
|
222
245
|
unfixable = []
|
|
223
246
|
```
|
|
224
247
|
|
|
248
|
+
For a fully expanded TOML example that names every built-in rule explicitly, see
|
|
249
|
+
[`/.ryl.toml.example`](https://github.com/owenlamont/ryl/blob/main/.ryl.toml.example).
|
|
250
|
+
|
|
225
251
|
Migration example:
|
|
226
252
|
|
|
227
253
|
```text
|
package/bin/ryl
CHANGED
|
Binary file
|