vis-lint

vis plugin for linting code
git clone anongit@rnpnr.xyz:vis-lint.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 1d9ac15e9f5fcd2a9675c81ccaf829202a357144
Parent: 3dca760d500a2bc244a6dd5fc6daed9dba35fe91
Author: Randy Palamar
Date:   Tue, 21 Nov 2023 09:54:19 -0700

meson: properly set flags for muon

`muon analyze` is not the appropriate option for linting.

Diffstat:
Minit.lua | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/init.lua b/init.lua @@ -5,13 +5,13 @@ lint.linters["bash"] = {"shellcheck -"} lint.linters["json"] = {"jq"} lint.linters["lua"] = {"luacheck --no-color -"} lint.linters["man"] = {"mandoc -T lint"} -lint.linters["meson"] = {"muon analyze"} +lint.linters["meson"] = {"muon check -"} lint.linters["python"] = {"black --check -", "isort --check -"} lint.linters["rust"] = {"rustfmt --check", "clippy-driver -"} lint.fixers = {} lint.fixers["json"] = {"jq"} -lint.fixers["meson"] = {"muon fmt"} +lint.fixers["meson"] = {"muon fmt -"} lint.fixers["python"] = {"black -", "isort -"} lint.fixers["rust"] = {"rustfmt"}