@owenlamont/ryl-win32-arm64-msvc 0.23.0 → 0.24.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 +11 -7
  2. package/bin/ryl.exe +0 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -24,9 +24,10 @@ Full documentation lives at <https://ryl-docs.pages.dev/>.
24
24
 
25
25
  ## Quick start
26
26
 
27
- ryl enables no rules by default, so it needs a configuration that turns rules on.
28
- `-d 'extends: default'` opts into yamllint's standard rule set for a one-off run;
29
- for a project, drop a `.ryl.toml` at the root (see
27
+ ryl enables no rules by default, so it needs a configuration or `--enable` that
28
+ turns rules on. `-d 'extends: default'` opts into yamllint's standard rule set for
29
+ a one-off run, and `--enable <RULES>` runs just the named rules; for a project,
30
+ drop a `.ryl.toml` at the root (see
30
31
  [Configuration](https://ryl-docs.pages.dev/getting-started/quickstart/)).
31
32
 
32
33
  `ryl check` is the lint subcommand (a `ryl format` formatter is coming) and the
@@ -67,9 +68,10 @@ newer. The prebuilt wheels, npm, conda-forge and winget packages do not.
67
68
  and per-rule pages are at <https://ryl-docs.pages.dev/rules/>.
68
69
  - Auto-fixing (`--fix`) is supported for `braces`, `brackets`, `commas`,
69
70
  `comments`, `comments-indentation`, `document-end`, `document-start`,
70
- `empty-lines`, `new-line-at-end-of-file`, `new-lines`, `quoted-strings`,
71
- and `trailing-spaces`. The set of rules that may apply fixes is
72
- configurable via the TOML `[fix]` table.
71
+ `empty-lines`, `key-ordering`, `new-line-at-end-of-file`, `new-lines`,
72
+ `quoted-strings`, `trailing-spaces`, and `truthy` (case only, e.g. `True`
73
+ to `true`). The set of rules that may apply fixes is configurable via the
74
+ TOML `[fix]` table.
73
75
  - `--diff` previews those safe fixes as a unified diff on stdout instead
74
76
  of writing them (modelled on `ruff check --diff`); it is mutually
75
77
  exclusive with `--fix`, works with stdin, and exits `1` iff some file
@@ -94,7 +96,9 @@ newer. The prebuilt wheels, npm, conda-forge and winget packages do not.
94
96
  - `--list-files` prints the files ryl would lint (after ignores and
95
97
  config discovery) and exits, without running rules. `--no-warnings`
96
98
  suppresses warning-level diagnostics in the output. `--strict` turns a
97
- warning-only run into exit code `2`.
99
+ warning-only run into exit code `2`. `--enable <RULES>` runs exactly the
100
+ listed rules (comma-separated IDs, or `ALL`) in place of the config's
101
+ selection, and needs no config file.
98
102
  - Pass `-` as the input to read YAML from stdin (ruff convention). Add
99
103
  `--stdin-filename <PATH>` so diagnostics, project-config discovery,
100
104
  and path-based filtering (`yaml-files`, per-file-ignores, per-rule
package/bin/ryl.exe CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owenlamont/ryl-win32-arm64-msvc",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "Fast YAML linter inspired by yamllint",
5
5
  "author": "Owen Lamont",
6
6
  "license": "MIT",