diff --git a/Dockerfile b/Dockerfile index 7d2b33fe..2fa2c4d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ######################################### FROM borkdude/clj-kondo:2020.09.09 as clj-kondo FROM dotenvlinter/dotenv-linter:2.2.1 as dotenv-linter -FROM mstruebing/editorconfig-checker:2.1.0 as editorconfig-checker +FROM mstruebing/editorconfig-checker:2.2.0 as editorconfig-checker FROM golangci/golangci-lint:v1.32.0 as golangci-lint FROM yoheimuta/protolint:v0.26.0 as protolint FROM koalaman/shellcheck:v0.7.1 as shellcheck diff --git a/docs/disabling-linters.md b/docs/disabling-linters.md index 206c4264..ca3947ce 100644 --- a/docs/disabling-linters.md +++ b/docs/disabling-linters.md @@ -350,7 +350,14 @@ RUN cd /tmp && echo "hello!" ### editorconfig-checker disable code block -- There is currently **No** way to disable rules inline of the file(s) +```js +// editorconfig-checker-disable +const myTemplateString = ` + first line + wrongly indended line because it needs to be +` +// editorconfig-checker-enable +``` ### editorconfig-checker disable entire file