Enable shellcheck in Emacs

This commit is contained in:
Andreas Zweili 2024-03-06 18:48:48 +01:00
parent c3207c832c
commit aee31e4a37
3 changed files with 7 additions and 0 deletions

View File

@ -23,6 +23,7 @@ in
unstable.nixfmt-rfc-style
pandoc
ripgrep
shellcheck # shell script linter
shfmt # formatting bash scripts
silver-searcher
source-code-pro
@ -64,6 +65,7 @@ in
epkgs.evil-surround
epkgs.f
epkgs.flycheck
epkgs.flymake-shellcheck
epkgs.format-all
epkgs.general
epkgs.helpful

View File

@ -0,0 +1,4 @@
(use-package flymake-shellcheck
:commands flymake-shellcheck-load
:init
(add-hook 'sh-mode-hook 'flymake-shellcheck-load))

View File

@ -41,6 +41,7 @@
(load-file (modules-path "az_powershell.el"))
(load-file (modules-path "az_projectile.el"))
(load-file (modules-path "az_python.el"))
(load-file (modules-path "az_shellcheck.el"))
(load-file (modules-path "az_verb.el"))
(load-file (modules-path "az_webmode.el"))
(load-file (modules-path "az_yaml.el"))