@owenlamont/ryl-linux-x64-musl 0.6.0 → 0.8.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 +34 -2
- 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.
|
|
@@ -190,8 +197,8 @@ Example benchmark figure (5x5 matrix, 5 runs per point):
|
|
|
190
197
|
for a full list of supported rules and their fixable status.
|
|
191
198
|
- TOML and YAML are not merged during discovery. If a TOML project config is
|
|
192
199
|
found, YAML project config discovery is skipped (and `ryl` prints a warning).
|
|
193
|
-
- Native fix policy
|
|
194
|
-
does not support
|
|
200
|
+
- Native fix policy and per-file ignores are TOML-only. YAML config remains
|
|
201
|
+
yamllint-compatible and does not support ryl-native settings.
|
|
195
202
|
- Per-file behavior: unless a global config is set via `--config-data`,
|
|
196
203
|
`--config-file`, or `YAMLLINT_CONFIG_FILE`, each file discovers its nearest
|
|
197
204
|
project config. Ignores apply to directory scans and explicit files (parity).
|
|
@@ -200,6 +207,22 @@ Example benchmark figure (5x5 matrix, 5 runs per point):
|
|
|
200
207
|
- TOML preset examples: see
|
|
201
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
|
+
- Release-time SchemaStore sync updates `owenlamont/schemastore:ryl-schema-update`
|
|
219
|
+
after a release succeeds and prints the manual upstream PR details in the
|
|
220
|
+
workflow summary.
|
|
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
|
|
|
@@ -208,6 +231,12 @@ yaml-files = ["*.yaml", "*.yml"]
|
|
|
208
231
|
ignore = ["vendor/**", "generated/**"]
|
|
209
232
|
locale = "en_US.UTF-8"
|
|
210
233
|
|
|
234
|
+
[per-file-ignores]
|
|
235
|
+
"**/values.yaml" = ["document-start"]
|
|
236
|
+
"**/kustomization.yaml" = ["document-start"]
|
|
237
|
+
# `!` negates the pattern, so this ignores truthy outside Kubernetes manifests.
|
|
238
|
+
"!k8s/**.yaml" = ["truthy"]
|
|
239
|
+
|
|
211
240
|
[rules]
|
|
212
241
|
document-start = "disable"
|
|
213
242
|
|
|
@@ -222,6 +251,9 @@ fixable = ["ALL"]
|
|
|
222
251
|
unfixable = []
|
|
223
252
|
```
|
|
224
253
|
|
|
254
|
+
For a fully expanded TOML example that names every built-in rule explicitly, see
|
|
255
|
+
[`/.ryl.toml.example`](https://github.com/owenlamont/ryl/blob/main/.ryl.toml.example).
|
|
256
|
+
|
|
225
257
|
Migration example:
|
|
226
258
|
|
|
227
259
|
```text
|
package/bin/ryl
CHANGED
|
Binary file
|