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
Coming from opensearch-project/opensearch-api-specification#337 we are using eslint to check markdown files. Those have a lot of English text that we'd like to spell-check.
import parserYml from "yaml-eslint-parser" import pluginYml from 'eslint-plugin-yml' import pluginCspell from '@cspell/eslint-plugin' export default [ ...pluginYml.configs['flat/standard'], { files: ["**/*.yaml", "**/*.yml"], languageOptions: { parser: parserYml }, plugins: { 'yml': pluginYml, '@cspell': pluginCspell }, rules: { '@cspell/spellchecker': 'warn' } } ]
No response
The text was updated successfully, but these errors were encountered:
feat: Support spell checking more document types
cea5ce9
fixes #5740 fixes: #3464
Thank you so much for adding support for this @Jason3S! Tried it out, it works!
git clone https://github.com/streetsidesoftware/cspell cd cspell pnpm install pnpm bt
Added to my package.json.
package.json
"@cspell/eslint-plugin": "file:///Users/dblock/source/cspell/upstream-cspell/packages/cspell-eslint-plugin",
$ npm run lint /Users/dblock/source/opensearch-project/opensearch-api-specification/dblock-opensearch-api-specification/tools/tests/tester/fixtures/specs/indices_excerpt.yaml 174:35 warning Unknown word: "nanos" @cspell/spellchecker 176:46 warning Unknown word: "nanos" @cspell/spellchecker
opensearch-project/opensearch-api-specification#341
Sorry, something went wrong.
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.
Successfully merging a pull request may close this issue.
Problem
Coming from opensearch-project/opensearch-api-specification#337 we are using eslint to check markdown files. Those have a lot of English text that we'd like to spell-check.
Solution
Alternatives
No response
Additional Context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: