Skip to content

docs: ignorePaths#8950

Open
lonix1 wants to merge 6 commits into
streetsidesoftware:mainfrom
lonix1:patch-1
Open

docs: ignorePaths#8950
lonix1 wants to merge 6 commits into
streetsidesoftware:mainfrom
lonix1:patch-1

Conversation

@lonix1

@lonix1 lonix1 commented Jul 12, 2026

Copy link
Copy Markdown

Further to #8937 and #8944

I listed the defaults from the vscode extension:

".git/{info,lfs,logs,refs,objects}/**",
".git/{index,*refs,*HEAD}",

But as per our discussion, there's a more exhaustive list too:

".git/{branches,hooks,info,lfs,logs,lost-found,modules,objects,rebase-*,refs,rr-cache,svn,worktrees}/**",
".git/{*.lock,*.log,*.pid,*.sock,*HEAD,config,description,index,packed-refs}",

Probably overkill, but works for me.

Signed-off-by: lonix1 <40320097+lonix1@users.noreply.github.com>
Comment thread cspell.schema.json Outdated
"$ref": "#/definitions/Glob"
},
"markdownDescription": "Glob patterns of files to be ignored.\n\nGlob patterns are relative to the {@link globRoot } of the configuration file that defines them.",
"markdownDescription": "Glob patterns of files to be ignored.\n\nGlob patterns are relative to the {@link globRoot } of the configuration file that defines them.\n\nThe default is `[\"node_modules/\"]`. Warning: if you ignore \".git/\" then it will also ignore \".git/COMMIT_EDITMSG\" which is needed for the commit-msg git hook; in that case, rather use `[\".git/{info,lfs,logs,refs,objects}/**\", \".git/{index,*refs,*HEAD}\"]`.",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The schema is autogenerated.

The source for this setting comes from here:

/**
* Glob patterns of files to be ignored.
*
* Glob patterns are relative to the {@link globRoot} of the configuration file that defines them.
*/
ignorePaths?: Glob[];

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I moved the change to the correct file. Sorry about that, I didn't know that file was autogenerated.

The trailing newline in the other file doesn't seem to disappear... I'm using the GitHub web editor and it seems a little crazy today. Unsure how to do it....

@Jason3S Jason3S left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you for trying to improve the documentation.

lonix1 added 5 commits July 14, 2026 09:38
Signed-off-by: lonix1 <40320097+lonix1@users.noreply.github.com>
Signed-off-by: lonix1 <40320097+lonix1@users.noreply.github.com>
update correct file

Signed-off-by: lonix1 <40320097+lonix1@users.noreply.github.com>
delete trailing newline


Signed-off-by: lonix1 <40320097+lonix1@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants