]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
define puppet-lint-command
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 19 Apr 2017 15:03:26 +0000 (17:03 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 19 Apr 2017 15:03:26 +0000 (17:03 +0200)
* adjust the warnings for puppet-lint.

Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index 69892346ea568af0cb142449435efc50eb863155..1ad48100d38ec2e2c70140f8bed194fff78c3aef 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -593,6 +593,17 @@ log-format.
         ))
 #+END_SRC
 
+#+BEGIN_SRC emacs-lisp :tangle yes
+  (setq puppet-lint-command
+       (concat
+        "puppet-lint --with-context "
+        "--no-80chars-check "
+        "--no-puppet_url_without_modules-check "
+        "--fail-on-warnings "
+        "--log-format \"%{path}:%{line}: %{kind}: %{message} (%{check})\""
+        )
+       )
+#+END_SRC
 * [[https://github.com/kai2nenobu/guide-key][guide-key]]
 
 Probably the best help to keep track of the not every day used keybindings.