Skip to content

Add 'dist' to codespell skip list for codespell#39

Merged
likeajumprope merged 1 commit intomainfrom
enh-codespell-1
Apr 23, 2026
Merged

Add 'dist' to codespell skip list for codespell#39
likeajumprope merged 1 commit intomainfrom
enh-codespell-1

Conversation

@yarikoptic
Copy link
Copy Markdown
Member

this is the location to tune codespell config to make it green again.

this is the location to tune codespell config to make it green again.
@github-actions
Copy link
Copy Markdown
Contributor

🔍 PR Preview

Preview URL: https://ReproNim.github.io/ReproInventory/pr-previews/pr-39/

Last updated: Thu, 23 Apr 2026 17:35:25 GMT

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the .codespellrc configuration to exclude the dist directory from spell checking. The feedback suggests using a glob pattern like **/dist to correctly target build artifacts in subdirectories and recommends adding **/node_modules to the skip list to improve performance and avoid false positives.

Comment thread .codespellrc
[codespell]
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
skip = .git*,*.svg,package-lock.json,*.css,.codespellrc
skip = .git*,*.svg,package-lock.json,*.css,.codespellrc,dist
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The pattern dist only matches at the root level. Since the project contains a frontend directory, the build output (likely frontend/dist) will not be skipped by this pattern. Using **/dist is more effective for ignoring build artifacts in subdirectories.

Additionally, adding **/node_modules to the skip list is strongly recommended to improve performance and avoid false positives from third-party code, which is especially relevant given that check-hidden is set to true.

skip = .git*,*.svg,package-lock.json,*.css,.codespellrc,**/dist,**/node_modules

@likeajumprope likeajumprope merged commit 78b6614 into main Apr 23, 2026
3 checks passed
github-actions Bot added a commit that referenced this pull request Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants