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
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'
}
}
]
Alternatives
No response
Additional Context
No response
Code of Conduct
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