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
Kind of Issue
Which Tool or library
Which Version
Version: 6.5.0
Describe the bug
I have TSX code like <>wrongword</> with any tag. Linting with @cspell/eslint-plugin with recommended settings ignores content of the tag
<>wrongword</>
To Reproduce
Steps to reproduce the behavior:
Expected behavior
text in JSX tags should be processed and misspellings found
eslint config
"eslintConfig": { "extends": [ "react-app", "plugin:@cspell/recommended" ] }
cspell.json
"cspell": { "version": "0.2", "language": "en", "useGitignore": true, "dictionaryDefinitions": [ { "name": "import-names", "path": "./.cspell/import-names.txt" }, { "name": "known-names", "path": "./.cspell/known-names.txt" }, { "name": "project-words", "path": "./.cspell/project-words.txt", "addWords": true } ], "dictionaries": [ "import-names", "project-words", "known-names" ], "ignorePaths": [ "node_modules", ".cspell", "package.json", "countries.json" ] },
The text was updated successfully, but these errors were encountered:
feat: Support spell checking of JSX/TSX Text
1c0ebc3
- New Option: `checkJSXText` defaults to `true`. fixes: #3342
feat: Support spell checking of JSX/TSX Text (#3346)
943932e
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Info
Kind of Issue
Which Tool or library
Which Version
Version: 6.5.0
Bug Description
Describe the bug
I have TSX code like
<>wrongword</>
with any tag.Linting with @cspell/eslint-plugin with recommended settings ignores content of the tag
To Reproduce
Steps to reproduce the behavior:
Expected behavior
text in JSX tags should be processed and misspellings found
eslint config
cspell.json
The text was updated successfully, but these errors were encountered: