Skip to content

Commit

Permalink
chore: ignore uds-docs on commit linting (#1194)
Browse files Browse the repository at this point in the history
## Description
After running `uds run dev-docs` and then attempting to commit a new
change eslint and codespell both fail. Adding uds-docs repo to ignore
paths to fix this.

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Other (security config, docs update, etc)

## Steps to Validate
- not on this branch, run `uds run dev-docs` and then run `uds run
lint-check` and you'll see errors happen
- on this branch you can do the same and won't see those errors

## Checklist before merging

- [x] Test, docs, adr added or updated as needed
- [x] [Contributor
Guide](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md)
followed
  • Loading branch information
UnicornChance authored Jan 16, 2025
1 parent 5731713 commit 789f101
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Lint Codespell configurations
[codespell]
skip = .codespellrc,.git,node_modules,build,dist,*.zst,CHANGELOG.md,.playwright,.terraform,*.svg,**/pepr/operator/crd/generated/*.ts
skip = .codespellrc,.git,node_modules,build,dist,*.zst,CHANGELOG.md,.playwright,.terraform,*.svg,**/pepr/operator/crd/generated/*.ts,**/uds-docs/**
ignore-words-list = NotIn,AKS,LICENS,aks,afterAll
enable-colors =
check-hidden =
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"node_modules",
"dist",
"jest.*.js",
"test/playwright/"
"test/playwright/",
"uds-docs/"
],
"root": true,
"rules": {
Expand Down

0 comments on commit 789f101

Please sign in to comment.