Commit: f303404cb9a863c087d8755ce9c7d3b812c1b485
Parent: 1cad6cf6e6ef2048163f24094fb7403aec5e1efb
Author: Randy Palamar
Date: Sun, 5 Jan 2025 15:06:10 -0700
style
Diffstat:
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/init.lua b/init.lua
@@ -1,23 +1,23 @@
local lint = {}
lint.linters = {}
-lint.linters["bash"] = {"shellcheck -"}
-lint.linters["json"] = {"jq"}
-lint.linters["lua"] = {"luacheck --no-color -"}
-lint.linters["man"] = {"mandoc -T lint"}
-lint.linters["meson"] = {"muon check -"}
+lint.linters["bash"] = {"shellcheck -"}
+lint.linters["json"] = {"jq"}
+lint.linters["lua"] = {"luacheck --no-color -"}
+lint.linters["man"] = {"mandoc -T lint"}
+lint.linters["meson"] = {"muon check -"}
lint.linters["python"] = {"black --quiet --check -", "isort --check -"}
-lint.linters["rust"] = {"rustfmt --check", "clippy-driver -"}
+lint.linters["rust"] = {"rustfmt --check", "clippy-driver -"}
lint.fixers = {}
-lint.fixers["json"] = {"jq"}
-lint.fixers["meson"] = {"muon fmt -"}
-lint.fixers["python"] = {"black -", "isort -"}
-lint.fixers["rust"] = {"rustfmt"}
+lint.fixers["json"] = {"jq"}
+lint.fixers["meson"] = {"muon fmt -"}
+lint.fixers["python"] = {"black -", "isort -"}
+lint.fixers["rust"] = {"rustfmt"}
lint.log = {}
-lint.log.INFO = 1
-lint.log.ERROR = 2
+lint.log.INFO = 1
+lint.log.ERROR = 2
lint.log.OUTPUT = 3
lint.logger = function(str, level)