The --file option enables specifying which files to check. This is useful when the list is generated by another process and --file-list is not a good fit.
The files will be filtered by [globs...] or cspellConfig.files if the [globs...] were not specified.
Usage:
cspell.config.yaml
files:
- '**/*.md'
ignorePaths:
- 'CHANGELOG.md'
Command:
cspell --files README.md CHANGELOG.md LICENSE
Result:
It will only check README.md because LICENSE does not match *.md and CHANGELOG.md is excluded by ignorePaths.
Command Line Only
The same effect can be achieved on the command line:
Bumps the devdependencies group with 19 updates:
29.5.11
29.5.12
20.10.6
20.11.24
6.16.0
7.1.0
6.16.0
7.1.0
6.16.0
7.1.0
8.3.0
8.5.0
8.56.0
8.57.0
47.0.2
48.2.0
27.6.0
27.9.0
10.0.0
12.0.0
3.1.1
3.2.5
29.1.1
29.1.2
1.11.2
1.12.4
0.13.5
0.15.0
14.1.2
14.2.1
18.2.46
18.2.61
18.2.18
18.2.19
6.1.6
6.4.2
5.0.12
5.1.4
Updates
@types/jest
from 29.5.11 to 29.5.12Commits
Updates
@types/node
from 20.10.6 to 20.11.24Commits
Updates
@typescript-eslint/eslint-plugin
from 6.16.0 to 7.1.0Release notes
Sourced from
@typescript-eslint/eslint-plugin
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/eslint-plugin
's changelog.... (truncated)
Commits
4bc6944
chore(release): publish 7.1.01807d55
docs: add tabs in no-unsafe-unary-minus.md (#8542)f2f57de
test(eslint-plugin): [no-misused-promises] add test cases for spread args (#8...fa67955
chore: drop T from internal types (#8521)60c1cd3
fix(eslint-plugin): [no-use-before-define] fix false positive type reference ...1458920
fix(eslint-plugin): [no-misused-promises] improve check union types (#8534)c1441c8
fix(eslint-plugin): [prefer-optional-chan] allow typeof for avoiding referenc...e7ec6f0
docs: from option instead of source in prefer-readonly-parameter-types (#8461)46cef96
feat(eslint-plugin): [consistent-return] add new rule (#8289)f7198db
feat(eslint-plugin): [naming-convention] support the auto-accessor syntax (#8...Updates
@typescript-eslint/parser
from 6.16.0 to 7.1.0Release notes
Sourced from
@typescript-eslint/parser
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/parser
's changelog.... (truncated)
Commits
4bc6944
chore(release): publish 7.1.0677e7cc
chore(release): publish 7.0.24f3215f
chore(release): publish 7.0.1b27de99
chore(release): publish 7.0.01aa393c
chore(deps): update dependency prettier to v3.2.5 (#8401)8ef5f4b
feat: add support for flat configs (#7935)1200b4c
chore(deps): update nx to v17.3.0 (#8317)584db29
feat: bump ESLint, NodeJS, and TS minimum version requirements (#8377)289ee88
chore(release): publish 6.21.0aa5edf7
chore(deps): update dependency prettier to v3.2.4 (#8357)Updates
@typescript-eslint/utils
from 6.16.0 to 7.1.0Release notes
Sourced from
@typescript-eslint/utils
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/utils
's changelog.... (truncated)
Commits
4bc6944
chore(release): publish 7.1.0fa67955
chore: drop T from internal types (#8521)677e7cc
chore(release): publish 7.0.29708659
fix(utils): use mergeable interface forsettings
property (#8485)18c3216
fix: fix tsconfig-less check errors, fix@types/eslint
incompatibilities, a...4f3215f
chore(release): publish 7.0.1b27de99
chore(release): publish 7.0.01aa393c
chore(deps): update dependency prettier to v3.2.5 (#8401)745dd66
feat(utils): revert removal of backwards-compat functions (#8399)8ef5f4b
feat: add support for flat configs (#7935)Updates
cspell
from 8.3.0 to 8.5.0Release notes
Sourced from cspell's releases.
... (truncated)
Changelog
Sourced from cspell's changelog.
Commits
098601b
v8.5.0842b56c
ci: Workflow Bot -- Update ALL Dependencies (main) (#5332)4cae493
chore: Update Integration Test Performance Data (#5330)715f3b3
ci: Workflow Bot -- Update ALL Dependencies (main) (#5326)e398f1b
ci: Workflow Bot -- Build Readme (#5329)64ff0e4
chore: Update Integration Test Performance Data (#5327)d1888ea
feat: Add command-line options (#5328)63e3927
ci: Workflow Bot -- Update ALL Dependencies (main) (#5323)6e90ac1
chore: Adjust the perf chart.8b4080a
chore: Update Integration Test Performance Data (#5324)Updates
eslint
from 8.56.0 to 8.57.0Release notes
Sourced from eslint's releases.
Changelog
Sourced from eslint's changelog.
... (truncated)
Commits
abea3b6
8.57.01cd3f8c
Build: changelog update for 8.57.01813aec
chore: upgrade@eslint/js
@8
.57.0 (#18143)5c356bb
chore: package.json update for@eslint/js
release84922d0
docs: Show prerelease version in dropdown (#18139)1120b9b
feat: Add loadESLint() API method for v8 (#18098)5b8c363
docs: Switch to Ethical Ads (#18117)2196d97
fix: handle absolute file paths inFlatRuleTester
(#18064)f4a1fe2
test: add more tests for ignoring files and directories (#18068)69dd1d1
fix: Ensure config keys are printed for config errors (#18067)Updates
eslint-plugin-jsdoc
from 47.0.2 to 48.2.0Release notes
Sourced from eslint-plugin-jsdoc's releases.
... (truncated)
Commits
ba642e4
feat(check-param-names): AdddisableMissingParamChecks
option (#1206)ab893ba
build(deps-dev): bump ip from 2.0.0 to 2.0.137df54d
feat(check-line-alignment
): add `disableWrapIndent`` optione9a9b74
fix(informative-docs): check default named declaration6fcb47f
chore: update semver and devDeps.5a79d3f
fix(informative-docs): check named export declarations: fixes #1198207bc74
chore: update jsdoccomment and devDeps.f2aef87
fix(informative-docs): Improve wording in rule descriptionc5f203a
fix(require-description-complete-sentence
): capture multiple newlines as "p...6b163c8
fix: update devDeps.Updates
eslint-plugin-jest
from 27.6.0 to 27.9.0Release notes
Sourced from eslint-plugin-jest's releases.
... (truncated)
Changelog
Sourced from eslint-plugin-jest's changelog.
Commits
d75ba30
chore(release): 27.9.0 [skip ci]4cc2a1b
feat: add should-be-fine support for flat configs (#1505)14eafdd
refactor: use types from@typescript-eslint/utils
for snapshot processor (#...8fac5eb
ci: don't test@typescript-eslint
v7 against Node v19 (#1502)8557b08
chore(release): 27.8.0 [skip ci]9e9cf83
feat: supportfailing.each
(#1499)b100c13
chore(release): 27.7.0 [skip ci]6be2928