@owenlamont/ryl-linux-armv7-gnu 0.4.4 → 0.5.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 -0
  2. package/bin/ryl +0 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -105,6 +105,8 @@ Options:
105
105
  parsable) [default: auto]
106
106
  [possible values: auto, standard, colored,
107
107
  github, parsable]
108
+ --fix Apply safe fixes in place before reporting
109
+ remaining diagnostics
108
110
  --migrate-configs Convert discovered legacy YAML config files
109
111
  into .ryl.toml files
110
112
  --list-files List files that would be linted (reserved)
@@ -168,6 +170,7 @@ Example benchmark figure (5x5 matrix, 5 runs per point):
168
170
  - Flags:
169
171
  - `-c, --config-file <FILE>`: path to a YAML or TOML config file.
170
172
  - `-d, --config-data <YAML>`: inline YAML config (highest precedence).
173
+ - `--fix`: apply safe fixes in place before reporting remaining diagnostics.
171
174
  - `--list-files`: print files that would be linted after applying ignores and exit.
172
175
  - `--migrate-configs`: discover legacy YAML configs and plan TOML migration.
173
176
  - `--migrate-root <DIR>`: root to search for legacy YAML configs (default `.`).
@@ -183,8 +186,12 @@ Example benchmark figure (5x5 matrix, 5 runs per point):
183
186
  YAML fallback (`.yamllint`, `.yamllint.yml`, `.yamllint.yaml`)
184
187
  > user-global (`$XDG_CONFIG_HOME/yamllint/config` or
185
188
  `~/.config/yamllint/config`) > built-in defaults.
189
+ - **Rules Documentation**: see [docs/rules.md](https://github.com/owenlamont/ryl/blob/main/docs/rules.md)
190
+ for a full list of supported rules and their fixable status.
186
191
  - TOML and YAML are not merged during discovery. If a TOML project config is
187
192
  found, YAML project config discovery is skipped (and `ryl` prints a warning).
193
+ - Native fix policy is TOML-only. YAML config remains yamllint-compatible and
194
+ does not support `fix` settings.
188
195
  - Per-file behavior: unless a global config is set via `--config-data`,
189
196
  `--config-file`, or `YAMLLINT_CONFIG_FILE`, each file discovers its nearest
190
197
  project config. Ignores apply to directory scans and explicit files (parity).
@@ -209,6 +216,10 @@ max = 120
209
216
 
210
217
  [rules.truthy]
211
218
  allowed-values = ["true", "false"]
219
+
220
+ [fix]
221
+ fixable = ["ALL"]
222
+ unfixable = []
212
223
  ```
213
224
 
214
225
  Migration example:
package/bin/ryl CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owenlamont/ryl-linux-armv7-gnu",
3
- "version": "0.4.4",
3
+ "version": "0.5.0",
4
4
  "description": "Fast YAML linter inspired by yamllint",
5
5
  "author": "Owen Lamont",
6
6
  "license": "MIT",