Skip to content

chore(deps): update cargo:nu-lint to 1.9.2 - #400

Open
sweepies-ops[bot] wants to merge 1 commit into
mainfrom
patchula/cargo-nu-lint-1.x
Open

sweepies-ops[bot] wants to merge 1 commit into
mainfrom
patchula/cargo-nu-lint-1.x

Conversation

@sweepies-ops

@sweepies-ops sweepies-ops Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor
Package Change Type File
cargo:nu-lint[os=["macos"]] 1.7.1 → 1.9.2 minor mise.toml
Release notes · 1.7.1 → 1.9.2 (4 releases)

1.9.2

CI
  • build the recordings push URL in xtask instead of the workflow
Fixed
  • (analysis) read variable names from the parser, not the declaration span
  • (effects) match arguments by parsed value, not source text
Downloads
File Platform
nu-lint-x86_64-unknown-linux-musl.tar.gz Linux x86_64 (Ubuntu, Debian, Fedora, etc.)
nu-lint-aarch64-unknown-linux-musl.tar.gz Linux ARM64 (Raspberry Pi, AWS Graviton)

See README for full installation instructions.

1.9.1

Build
  • (nix) split flake.nix by concern
CI
  • move CI tasks into Nushell scripts
  • name workflows, steps and tasks after what they do
Fixed
  • (release) link macOS binaries with zig 0.15
Downloads
File Platform
nu-lint-x86_64-unknown-linux-musl.tar.gz Linux x86_64 (Ubuntu, Debian, Fedora, etc.)
nu-lint-aarch64-unknown-linux-musl.tar.gz Linux ARM64 (Raspberry Pi, AWS Graviton)

See README for full installation instructions.

1.9.0

Added
  • (release) attach macOS binaries to releases
  • (config) keep accepting former rule ids
Build
  • (ast-grep) make every rule an error and add rule tests
  • (hooks) hide convco repository warnings in the commit message hook
  • (ast-grep) check generic fix structs in fix-data-plain-text
  • (ast-grep) check optional fix structs in fix-data-plain-text
  • (ast-grep) enforce the abstraction level of rules
CI
  • upload to cachix in separate steps
  • open a weekly pull request updating dependencies
  • separate dependency builds and quiet nix output in logs
  • run formatting and ast-grep checks through prek
Changed
  • (rules) stop trimming operand text when building fixes
  • (rules) replace source text checks with spans and variable ids
  • (rules) keep source spans instead of command text in fix data
  • (rules) derive parameter and variable names from the AST in fixes
  • (rules) keep AST nodes instead of decoded text in fix data
  • (rules) keep spans and AST nodes in optional fix data
  • (rules) remove doc comments added to fix data
  • (snake_case_variables) read the name through the variable helper
  • (rules) use descriptive names for identifiers added to rules
  • (rules) move renamed rules to directories matching their ids
  • (split_row_get_inline) keep the split call instead of delimiter text
  • (rules) read input and output annotations from the signature
  • (analysis) put all signature layout behind one type
  • (compound_assignment) compare variables by id
  • (record_assignments) identify $env by its variable id
  • (error_make) compare only literal record keys
  • (list_param_to_variadic) label spans from the variable and signature layout
  • (rules) share the implicit row condition parameter check
  • (not_is_empty_to_is_not_empty) stop trimming fix text
  • (effects) read literal argument values before source text
  • (analysis) move comment inspection next to source lines
Documentation
  • (rules) use backticks for inline code in rule descriptions
  • (rules) restore details dropped from rule descriptions
Fixed
  • (redundant_echo) ignore attributes that alias echo
  • (deps) update nushell crates and lockfiles
  • (missing_stdin_in_shebang) ignore arrows in parameter comments
  • (positional_to_pipeline) find the parameter list and pipeline head from the AST
  • (where_closure_drop_parameter) detect closures with spaces inside the pipes
  • (split_row_get_multistatement) count fields from the string value
  • (custom_log_command) recognize use std log as a stdlib import
  • (redundant_nu_subprocess) detect quoted command flags
  • (filesystem) read the raw flag of open from the call
  • (positional_to_pipeline) offer no fix when $in would change meaning
  • (rules) rename rule ids that were vague or too long
  • (split_row_get_multistatement) stop deleting code in the fix
  • (unused_variable) keep values with side effects
  • (positional_to_pipeline) remove only the converted parameter
  • (explicit_long_flags) ignore grouped short flags
  • (missing_output_type) do not guess output from an unknown input
  • (each_nothing_to_for_loop) produce a valid for statement
  • (positional_to_pipeline) offer no fix for annotated signatures
  • (remove_hat_not_builtin) keep the hat when a command shadows the name
  • (rules) offer no parse fix for split row with flags
  • (add_type_hints_arguments) infer parameter types from the compared value
  • (snake_case_variables) replace each usage of a cell path head once
  • (unused_variable) remove only the declaration inside nested blocks
  • (positional_to_pipeline) offer no fix when the command has callers
  • (single_call_command) do not inline multi-statement bodies
  • (unused_helper_functions) count completers of extern signatures as usages
  • (missing_in_type) only count $in at the head of a pipeline as input
  • (string_may_be_bare) keep quotes where a bare word is invalid
  • (rules) parenthesize command values in generated records
  • (error_make_for_non_fatal) only quote bare word messages
  • (if_else_chain_to_match) only rewrite equality with literals
  • (string_param_as_path) replace only the type annotation
  • (add_type_hints_arguments) do not take field arithmetic as the parameter type
  • (rules) keep the written parameter list when adding type annotations
  • (if_else_chain_to_match) match on the compared expression
  • (rules) offer no record fix when a value reads an earlier assignment
  • (add_type_hints_arguments) do not guess int from arithmetic with other values
  • (list_param_to_variadic) rewrite only the converted parameter
  • (unused_parameter) remove only the unused parameter
  • (unused_parameter) keep the closing bracket on its own line
  • (transpose_items) compare field names from the cell path
  • (unnecessary_accumulate) compare the loop variable by id
  • (if_else_chain_to_match) compare operands by variable and cell path
  • (add_type_hints_arguments) do not guess int from arithmetic between variables
  • (rules) infer types only where the operator proves them
  • (rules) compare loop and counter variables by id
  • (dispatch_with_subcommands) match the parameter by id
  • (append_to_concat_assign) compare the whole cell path
  • (rules) identify external commands by their parsed value
  • (rules) read numeric arguments from the parsed value
  • (lines_instead_of_split) compare the string value
  • (self_import) find current file references in the AST
  • (filesystem) read file extensions from literal paths only
  • (unused_parameter) remove call arguments by argument spans
Testing
  • (rules) assert the complete fix output
Downloads
File Platform
nu-lint-x86_64-unknown-linux-musl.tar.gz Linux x86_64 (Ubuntu, Debian, Fedora, etc.)
nu-lint-aarch64-unknown-linux-musl.tar.gz Linux ARM64 (Raspberry Pi, AWS Graviton)

See README for full installation instructions.

1.8.0

Added
  • (get_optional_to_cell_path) add rule replacing get -o with optional cell paths
  • (where_not_null_to_compact) add rule replacing null filters with compact
  • (where_not_empty_to_compact) add hint for empty string filters
  • (datetime_epoch_arithmetic) add hint for time arithmetic on integers
  • (manual_duration_decomposition) add hint for splitting time units by hand
  • (translate-bash-syntax) add rules repairing pasted shell code
CI
  • record and publish recordings on woodpecker
  • (release) set an upstream for main so release-plz can update its PR
Changed
  • (analysis) add CallExt::builtin_name to identify builtin and keyword calls
  • (translate-bash-syntax) follow contributing guidelines
Documentation
  • generate webp in ci
Fixed
  • stop matching user-defined commands that share a builtin name
  • (merge_get_cell_path) detect inside blocks and keep optional access in fixes
  • (division_to_format_duration) remove auto-fix that changed the result type
  • (do_not_compare_booleans) ignore optional cell paths that may be null
  • (missing_stdin_in_shebang) detect pipeline input inside try and if blocks
  • (missing_output_type) include nothing for an if without else
  • (analysis) resolve builtin names in shared AST helpers
  • (effect) look up builtin side effects from the resolved call
  • resolve builtin names in remaining rules
  • use utf16 for column calculations
  • (lsp) keep non-conflicting edits in fix-all
  • (xtask) track the recordings bookmark before pushing it
  • (ci) fetch origin/main before setting it as the upstream of main
Other
  • remove useless join wrapped lines
  • delete join_wrapped_lines source files
Downloads
File Platform
nu-lint-x86_64-unknown-linux-musl.tar.gz Linux x86_64 (Ubuntu, Debian, Fedora, etc.)
nu-lint-aarch64-unknown-linux-musl.tar.gz Linux ARM64 (Raspberry Pi, AWS Graviton)

See README for full installation instructions.


Count Patchula Count Patchula opened this PR
The Count keeps watch over this repo. He works for free, but if you find him helpful, consider supporting his development.

  • Re-check this PR now
  • Add to the batch PR (closes this PR and moves the update there)

View guided diff Turn on auto-fix

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
count-patchula 43c03d9 Commit Preview URL

Branch Preview URL
Nov 24 2026, 02:01 AM

Patchula: v1
Patchula-Branch: b6786ca13ce84fab47e91059b702b7a6cde778686c986bbbf2359ccbcc7454ea
Patchula-Base: f33af1f
Patchula-Plan: b1e8e067aa877be37a67b3f676357b2405049dc8e5c5db93a7b4aa7c1c276ed3
@sweepies-ops
sweepies-ops Bot force-pushed the patchula/cargo-nu-lint-1.x branch from 43c03d9 to b0338c1 Compare November 25, 2026 05:22

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants