From 0d45efcc9d9284fddbf279ec74ba6bf73b91aa37 Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 15 Oct 2024 18:27:47 -0700 Subject: [PATCH] Expand ignored path configurations In order to avoid spurious results and to improve efficiency, automatically generated or externally maintained files should be excluded from automated processes. The coverage of ignore configurations is hereby expanded to cover more paths containing such files. --- .codespellrc | 2 +- .ecrc | 2 ++ .markdownlintignore | 3 +++ .prettierignore | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .markdownlintignore diff --git a/.codespellrc b/.codespellrc index e3d99ac7a..1fc7e2894 100644 --- a/.codespellrc +++ b/.codespellrc @@ -3,7 +3,7 @@ [codespell] # In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here: ignore-words-list = ot,porperties,propert -skip = ./.git,./.licenses,**/go.mod,**/go.sum,./package-lock.json,./poetry.lock,./yarn.lock,./arduino-lint,./arduino-lint.exe,./internal/rule/rulefunction/testdata/libraries/MisspelledSentenceParagraphValue/library.properties,./site +skip = ./.git,./.licenses,**/go.mod,**/go.sum,__pycache__,./package-lock.json,./poetry.lock,./yarn.lock,./arduino-lint,./arduino-lint.exe,./internal/rule/rulefunction/testdata/libraries/MisspelledSentenceParagraphValue/library.properties,./site builtin = clear,informal,en-GB_to_en-US check-filenames = check-hidden = diff --git a/.ecrc b/.ecrc index 219cb0bd5..eed3f9aec 100644 --- a/.ecrc +++ b/.ecrc @@ -1,5 +1,7 @@ { "Exclude": [ + "^\\.git[/\\\\]", + "__pycache__[/\\\\]", "^LICENSE\\.txt$", "^poetry\\.lock$", "^\\.licenses/", diff --git a/.markdownlintignore b/.markdownlintignore new file mode 100644 index 000000000..78d770d1a --- /dev/null +++ b/.markdownlintignore @@ -0,0 +1,3 @@ +# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-markdown/.markdownlintignore +.licenses/ +__pycache__/ diff --git a/.prettierignore b/.prettierignore index 9668a9639..cc6d34496 100644 --- a/.prettierignore +++ b/.prettierignore @@ -6,6 +6,7 @@ # Generated files /.licenses/ +__pycache__/ # Test files /internal/rule/schema/testdata/input/invalid-schema.json