Linter Presets

This section provides a reference for the external linter presets available in Panache.

Read the Configuration Guide for instructions on how to configure external linters for code chunks in Panache.

clippy

Rust lints to catch mistakes and improve style.

Homepage
https://doc.rust-lang.org/clippy/
Supported Languages
rust, rs
Command
clippy-driver
args
[--error-format=json, -W, clippy::all]

eslint

JavaScript and TypeScript linter.

Homepage
https://eslint.org/
Supported Languages
js, javascript, jsx, mjs, cjs, ts, typescript, tsx
Command
eslint
args
[--no-config-lookup, --rule, no-unused-vars:error, --format, json]

jarl

Jarl is a fast linter for R: it does static code analysis to search for programming errors, bugs, and suspicious patterns of code.

Homepage
https://github.com/etiennebacher/jarl
Supported Languages
r
Command
jarl
args
[check, --output-format=json]

ruff

An extremely fast Python linter and code formatter, written in Rust.

Homepage
https://docs.astral.sh/ruff/
Supported Languages
python
Command
ruff
args
[check, --output-format, json]

shellcheck

Static analysis for shell scripts.

Homepage
https://www.shellcheck.net/
Supported Languages
sh, bash, zsh, ksh, shell
Command
shellcheck
args
[-f, json]

staticcheck

Advanced static analysis for Go code.

Homepage
https://staticcheck.dev/
Supported Languages
go, golang
Command
staticcheck
args
[-f, json]