How to exclude files in cspell #3322
-
I'm using megalinter and github actions, if it matters. |
Beta Was this translation helpful? Give feedback.
Answered by
Nightblade
Aug 5, 2022
Replies: 2 comments 7 replies
-
@uranuspucksaxophone, Command LineYou can use the command line option cspell "**" --exclude "**/*-lock.json" --exclude "*.log" Using a Config FileThe best thing to use is a CSpell configuration file at the root of your repo.
ignorePaths:
- "**/*.db" or
{ "ignorePaths": ["**/*.db"] } |
Beta Was this translation helpful? Give feedback.
0 replies
-
ignorePaths:
- "**/.pnpm-lock.json" Something like that should work. |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Something like that should work.