We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime - command-line tools
cspell
8.15.0
No response
Linux
Alpine 3.20
Until version 8.14.4, my implementation is working properly. Starting from 8.15.0, the execution of cspell lint fails with exit code 1.
cspell lint
1
The issue was probably introduced at #6167.
cspell lint --config .cspell/cspell.yaml --debug --verbose
cspell; Date: Wed, 16 Oct 2024 01:05:39 GMT Options: verbose: Yes config: .cspell/cspell.yaml exclude: !config/secrets/**/* node_modules/** files: config/**/*.(php|yaml),doc/**/*.md,fixtures/**/*.yaml,migrations/**/*.php,src/**/*.(php|xml|yaml),templates/**/*.twig,tests/**/*.(php|yaml),translations/**/*.(xlf|xliff) wordsOnly: No unique: No Config Files Found: /app/.cspell/cspell.yaml Exclusion Globs: Glob: !config/secrets/**/* from command line Glob: node_modules/** from command line Usage: cspell lint [options] [globs...] [file://<path> ...] [stdin[://<path>]] ...
No errors, and exit code 0.
0
# .cspell/cspell.yaml $schema: 'https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json' version: '0.2' language: - en - en-gb globRoot: '../' languageId: - 'php' - 'python' - 'sql' files: - 'config/**/*.(php|yaml)' - '!config/secrets/' - 'doc/**/*.md' - 'fixtures/**/*.yaml' - 'migrations/**/*.php' - 'src/**/*.(php|xml|yaml)' - 'templates/**/*.twig' - 'tests/**/*.(php|yaml)' - 'translations/**/*.(xlf|xliff)' useGitignore: true gitignoreRoot: '../' dictionaries: - 'project-terms' - 'stack-terms' dictionaryDefinitions: - name: 'project-terms' path: './project-terms.txt' - name: 'stack-terms' path: './stack-terms.txt' overrides: - language: - 'es' - 'en' filename: '*.es.xlf' import: - '@cspell/dict-es-es/cspell-ext.json'
The text was updated successfully, but these errors were encountered:
@phansys,
Thank you for the report. I think this is the same as #6353 The issues seems to be the ! in the glob.
!
Sorry, something went wrong.
Yes, it is related to #6167.
files
Closing as the issue is resolved at v8.15.3.
Thank you so much!
Successfully merging a pull request may close this issue.
Kind of Issue
Runtime - command-line tools
Tool or Library
cspell
Version
8.15.0
Supporting Library
No response
OS
Linux
OS Version
Alpine 3.20
Description
Until version 8.14.4, my implementation is working properly. Starting from 8.15.0, the execution of
cspell lint
fails with exit code1
.The issue was probably introduced at #6167.
Steps to Reproduce
cspell lint --config .cspell/cspell.yaml --debug --verbose
Expected Behavior
No errors, and exit code
0
.Additional Information
No response
cspell.json
No response
cspell.config.yaml
Example Repository
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: