arity-lint(1)

πŸ“¦ version 0.26.0, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so arity-lint is the main character here, and its whole job is literally Lint .R files. That's the gig. πŸ¦‹

This is the arity-lint(1) page from the General Commands Manual, bestie β€” consider yourself introduced. πŸ’–


✨ SYNOPSIS ✨

arity lint [--stdin-filename] [--fix] [--unsafe-fixes] [--select]
[--extend-select] [--ignore] [--exclude] [--force-exclude] [--output]
[-h|--help] [-V|--version] [PATH]

🌸 DESCRIPTION 🌸

arity-lint lints .R files. No cap.

It reads stdin when you hand it -, or when paths are omitted and stdin is not a terminal. Very "read the room" of it, honestly.

Exit code vibe check:

  • 0 β€” no findings. Clean, glowing, slay.
  • 1 β€” findings (or files blocked by parse errors). Not the vibe, but useful.
  • 2 β€” usage/IO error. πŸ’€

πŸŽ€ OPTIONS πŸŽ€

  • --stdin-filename <PATH> β€” Filename to report for stdin input (for diagnostics). Give your stdin a name tag, basically. 🏷️
  • --fix β€” Apply safe autofixes in place and report what remains.
  • --unsafe-fixes β€” Also apply fixes that may change behavior (requires --fix).
🚨 bestie this one is literally gated: it requires --fix, and it can change behavior. Read that twice. No cap.
  • --select <RULE_ID> β€” Base rule selection (overrides config select); repeatable or comma-separated.
  • --extend-select <RULE_ID> β€” Additional rules to run alongside config or --select; repeatable or comma-separated.
  • --ignore <RULE_ID> β€” Disable these rules (overrides config ignore); repeatable or comma-separated.
  • --exclude <PATTERN> β€” Additional gitignore-style exclude patterns (repeatable or comma-separated); augments the configured exclude/extend-exclude.
  • --force-exclude β€” Apply exclude patterns to files named explicitly on the command line too (they are normally always processed); for runners like pre-commit that pass staged files as arguments. Yes, even the explicitly named ones get the vibe check. πŸ‘‘
  • --output <OUTPUT> [default: pretty] β€” Output format.

Possible values:

  • pretty β€” Annotated multi-line snippets (default; matches jarl/rustc-style output)
  • concise β€” One finding per line (path:line:col: severity [rule] message)
  • json β€” JSON array of diagnostics, for editor integration
  • -h, --help β€” Print help (see a summary with '-h').
  • -V, --version β€” Print version.
  • [PATH] β€” Input file(s) or director(ies). Pass - for stdin, also read when paths are omitted and stdin is not a terminal.

πŸ‘‘ VERSION πŸ‘‘

v0.26.0 β€” that's the version, bestie. ✨


πŸ”₯ SEE ALSO πŸ”₯


Sign-off tea: the footer says source/version lint 0.26.0, page arity-lint(1) β€” and the date slot is not printed on this footer, so I'm not inventing one. πŸ’–πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from