🪲 [Fix]: Add .codespellrc to skip linter config directory#14
Conversation
No Significant Changes DetectedThis PR does not contain changes to files that would trigger a new release:
Build, test, and publish stages will be skipped for this PR. If you believe this is incorrect, please verify that your changes are in the correct locations. |
There was a problem hiding this comment.
Pull request overview
Adds a Codespell configuration to prevent SPELL_CODESPELL from flagging intentional “misspellings” inside the repo’s linter configuration files under .github/linters.
Changes:
- Add
.github/linters/.codespellrcto configure Codespell behavior. - Configure Codespell to skip scanning
.github/lintersand to ignore the tokenafterall.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -0,0 +1,3 @@ | |||
| [codespell] | |||
| skip = ./.github/linters | |||
| ignore-words-list = afterall | |||
There was a problem hiding this comment.
ignore-words-list = afterall doesn’t appear to be needed right now since afterall isn’t present anywhere in the repo (including .github/linters/.textlintrc). Consider removing it to avoid accidentally masking real typos in the future, or add a brief note explaining why this ignore entry is required.
| ignore-words-list = afterall |
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
Context
The super-linter
SPELL_CODESPELLcheck flags intentional misspellings in.github/linters/.textlintrc(e.g.environemnt,pacakge). These strings exist as linter configuration patterns and are not actual typos.The GitHub, GoogleFonts, and NerdFonts repos already solved this by adding a
.codespellrcfile.Changes
.github/linters/.codespellrcthat tells codespell to skip the.github/lintersdirectory and ignore the wordafterall