[[bench]]
harness = false
name = "prefer_builtin_rules"
path = "benches/prefer_builtin_rules.rs"
[[bin]]
name = "nu-lint"
path = "src/main.rs"
[dependencies.clap]
features = ["derive"]
version = "4.5"
[dependencies.heck]
version = "0.5"
[dependencies.ignore]
version = "0.4"
[dependencies.miette]
features = ["fancy"]
version = "7.0"
[dependencies.nu-cmd-lang]
version = "0.108.0"
[dependencies.nu-command]
version = "0.108.0"
[dependencies.nu-parser]
version = "0.108.0"
[dependencies.nu-protocol]
version = "0.108.0"
[dependencies.rayon]
version = "1.10"
[dependencies.regex]
version = "1.10"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.toml]
version = "0.8"
[dev-dependencies.criterion]
features = ["html_reports", "csv_output"]
version = "0.7"
[dev-dependencies.tempfile]
version = "3.10"
[lib]
name = "nu_lint"
path = "src/lib.rs"
[lints.clippy.complexity]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.clippy.style]
level = "deny"
priority = -1
[package]
authors = ["Willem Vanhulle <willemvanhulle@protonmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Linter for Nu shell scripts that helpfully suggests improvements"
edition = "2024"
exclude = ["benches/fixtures/"]
keywords = ["nushell", "linter", "static-analysis", "code-quality", "shell"]
license = "MIT"
name = "nu-lint"
readme = "README.md"
repository = "https://github.com/wvhulle/nu-lint"
version = "0.0.13"
[[test]]
name = "config_linting"
path = "tests/config_linting.rs"
[[test]]
name = "config_loading"
path = "tests/config_loading.rs"
[[test]]
name = "engine"
path = "tests/engine.rs"
[[test]]
name = "file_collection"
path = "tests/file_collection.rs"
[[test]]
name = "linting"
path = "tests/linting.rs"