Repository navigation
chore: Prepare Release v10.6.0 (auto-deploy) - #9655
Open
github-actions[bot] wants to merge 1 commit into
Open
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
github-actions
Bot
force-pushed
the
release-draft
branch
24 times, most recently
from
November 20, 2026 19:42
21b5287 to
0be4656
Compare
github-actions
Bot
force-pushed
the
release-draft
branch
5 times, most recently
from
November 21, 2026 07:23
2842a4f to
008ec9d
Compare
github-actions
Bot
force-pushed
the
release-draft
branch
6 times, most recently
from
November 23, 2026 12:18
5163bf9 to
f8d5224
Compare
github-actions
Bot
force-pushed
the
release-draft
branch
from
November 23, 2026 12:21
f8d5224 to
d7a1321
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Release v10.6.0
Release Notes
Details
Features
feat: Make `--config` replace the configuration files where cspell runs (#9640)
feat: Make
--configreplace the configuration files where cspell runs (#9640)Summary
The
--config <file>and--stop-config-search-at <dir>options now give more control over which configuration files cspell loads.When cspell checks a file, it uses the nearest configuration file it finds by searching up the directory tree from that file. The
--stop-config-search-at <dir>option now limits how far up that search goes, for every file. The--no-config-searchoption turns the search off.Specifying
--config <file>now prevents loading configuration files from the current directory and the directories above it. Configuration files in subdirectories still apply.Feature
A project with two configuration files in its top directory, and one more for its German docs:
Before, running cspell in
project/still checkedREADME.mdwithcspell.json:After, only
cspell.custom.jsonapplies in the current directory, andi18n/de/cspell.jsonstill applies to the German docs:CSPELL_CONFIG_PATHenvironment variable, or with cspell-action'sconfiginput.--stop-config-search-at .to the command.cspell.json, add"import": ["./cspell.json"]to the file you name. Thencspell.jsonapplies to every file, and the file you name wins where the two disagree.To ignore configuration files above the current directory, such as one in your home directory:
Technical Details
cspell-lib, a new option,stopConfigSearchAt, sets the directories where the search for a document's configuration file stops. The search looks in each of those directories, and no further up.SpellCheckFileOptionsandDocumentValidatorOptions.StopAtLocation, a new type. Withexclusive: true, the search stops below that directory, so a configuration file in it isn't used.--stop-config-search-atdirectories. A run where either one differs rechecks its files.Fixes
fix: Don't reuse cached results between runs with and without "--no-config-search" (#9683)
fix: Don't reuse cached results between runs with and without "--no-config-search" (#9683)
Summary
With
--cache,cspell lintno longer reuses a file's cached result between runs with and without--no-config-search.Before this fix:
--no-config-searchcould reuse the result of a run that used configuration files found near the file.--no-config-search, which didn't use them.Either way, the run could report issues it shouldn't, or miss issues it should report.
fix: Show what relative paths are relative to in "cspell lint --help --verbose" (#9682)
fix: Show what relative paths are relative to in "cspell lint --help --verbose" (#9682)
Summary
The verbose help for
cspell lintnow ends with a table of its path options and what a relative path in each is relative to: the root or the current directory.cspell lint --help --verboseandcspell --help --verbose.--helpoutput stays the same.Before
After
Version Information
v10.6.010.6.0Summary