From b9097f066f3b723945175d0a37de6897a144be25 Mon Sep 17 00:00:00 2001 From: per1234 Date: Sun, 15 Aug 2021 19:56:16 -0700 Subject: [PATCH] Place project-specific settings first in codespell configuration The `ignore-words-list` and `skip` settings of the codespell configuration file may required project-specific adjustments to fix false positives or avoid positives from externally maintained files. The other settings are universal. It will be convenient to have the settings the user might need to adjust at the place of highest visibility in the configuration file. --- .codespellrc | 2 +- workflow-templates/assets/spell-check/.codespellrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.codespellrc b/.codespellrc index e8881b0c..097969d3 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 = licence,ot +skip = ./.git,./go.mod,./go.sum,./package-lock.json,./poetry.lock,./yarn.lock builtin = clear,informal,en-GB_to_en-US check-filenames = check-hidden = -skip = ./.git,./go.mod,./go.sum,./package-lock.json,./poetry.lock,./yarn.lock diff --git a/workflow-templates/assets/spell-check/.codespellrc b/workflow-templates/assets/spell-check/.codespellrc index cf101168..1c6b46fb 100644 --- a/workflow-templates/assets/spell-check/.codespellrc +++ b/workflow-templates/assets/spell-check/.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 = , +skip = ./.git,./go.mod,./go.sum,./package-lock.json,./poetry.lock,./yarn.lock builtin = clear,informal,en-GB_to_en-US check-filenames = check-hidden = -skip = ./.git,./go.mod,./go.sum,./package-lock.json,./poetry.lock,./yarn.lock