-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
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
[Bug]: cspell-eslint-plugin does not work with Russian language #5232
Comments
It is necessary to enable the language locale for the Russian dictionary to be used. To test if the dictionary is loaded, add a comment containing I took a look at the cspell eslint config, it looks like the Opitons:
|
Once cspell // Rules part of .eslintrc.js
"@cspell/spellchecker": [
"warn", {
"cspell": {
"import": ["@cspell/dict-ru_ru", "@cspell/dict-fr-fr"],
"language": "fr,en,ru", // <-- to enable French, English and Russian
}
}
] It is recommended to use a
import:
- '@cspell/dict-fr-fr'
- '@cspell/dict-ru_ru'
- '@cspell/dict-de-de'
overrides:
- filename: 'i18n/ru/**'
language: 'ru'
- filename: 'i18n/fr/**'
language: 'fr' |
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. |
Kind of Issue
Change in behavior / Regression
Tool or Library
cspell/eslint-plugin
Version
No response
Supporting Library
No response
OS
Windows
OS Version
10
Description
When specifying the Russian language in the cspell-eslint-plugin config (using cspell.import = ["@cspell/dict-ru_ru/cspell-ext.json"]), all words of the Russian language (even those written correctly) are still underlined as unknown.
Steps to Reproduce
No response
Expected Behavior
No response
Additional Information
No response
cspell.json
cspell.config.yaml
No response
Example Repository
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: