feat(linter): add codespell linter #6256
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add the codespell linter which uses a dictionary of common misspellings and ignores unknown words.
This is an updated version of #4143 which was closed as stale and could not be reopened by the maintainer.
Fixes #6255
Proposed Changes
Add the codespell linter which uses a dictionary of common misspellings and ignores unknown words.
Readiness Checklist
Author/Contributor
Reviewing Maintainer
breakingif this is a large fundamental changeautomation,bug,documentation,enhancement,infrastructure, orperformanceNote
Introduce the codespell linter and integrate it across core, flavors, Docker images, tests, docs, and configuration.
codespellmegalinter/descriptors/spell.megalinter-descriptor.ymlwith.codespellrcsupport.flavors/*/flavor.json,megalinter/descriptors/all_flavors.json, and schemas.Dockerfileand all flavorDockerfiles; add standalone imagelinters/spell_codespell/Dockerfile.spell_codespell_test.pyand fixtures under.automation/test/spell_codespell/.docs/standalone-linters.mdandCHANGELOG.md.linter-helps.json,linter-links-previews.json,linter-versions.json,linters_matrix.json..cspell.json; disableSPELL_CODESPELLerrors in.mega-linter.yml.Written by Cursor Bugbot for commit 475b23f. This will update automatically on new commits. Configure here.