From 1e6b8a01645a4e9fcfaeec920829d61ac95869c4 Mon Sep 17 00:00:00 2001 From: Piotr Roszatycki Date: Mon, 22 Aug 2022 14:28:17 +0200 Subject: [PATCH] Tweak linters --- .editorconfig | 9 +++++++++ .markdownlint.yaml | 10 ++++++++++ .shellcheckrc | 1 - 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .editorconfig create mode 100644 .markdownlint.yaml diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..0db7b1c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = space +indent_size = 2 +wg diff --git a/.markdownlint.yaml b/.markdownlint.yaml new file mode 100644 index 0000000..fb94039 --- /dev/null +++ b/.markdownlint.yaml @@ -0,0 +1,10 @@ +# Autoformatter friendly markdownlint config (all formatting rules disabled) +default: true +blank_lines: false +bullet: false +html: false +indentation: false +line_length: false +spaces: false +url: false +whitespace: false diff --git a/.shellcheckrc b/.shellcheckrc index b144ca4..b71b92c 100644 --- a/.shellcheckrc +++ b/.shellcheckrc @@ -1,6 +1,5 @@ enable=all source-path=SCRIPTDIR -disable=SC2154 disable=SC1003 # Want to escape a single quote? echo 'This is how it'\''s done'. disable=SC2250 # Prefer putting braces around variable references even when not strictly required