Open
Description
Kind of Issue
Runtime - command-line tools
Tool or Library
cspell/eslint-plugin
Version
- cspell
8.17.5
- @cspell/eslint-plugin
8.17.5
Supporting Library
No response
OS
Windows
OS Version
- Windows 11
- WSL 2.4.12.0
- Ubuntu 24.04.2
Description
Running cspell
CLI works as expected, but eslint
seems to ignore ignorePaths
.
Running pnpm cspell .
yields success:
CSpell: Files checked: 83, Issues found: 0 in 0 files.
Running pnpm eslint .
yields an error:
/home/user/project/src/locales/de.ts
Mind that the custom dictionaryDefinitions
works as expected via CLI and eslint
, no issues there. Only ignorePaths
doesn't seem to work at all via eslint
plugin.
Steps to Reproduce
No response
Expected Behavior
ignorePaths
works via eslint
plugin.
Additional Information
No response
cspell.config.js
export default {
dictionaries: ['project'],
dictionaryDefinitions: [
{
addWords: true,
name: 'project',
path: 'dictionary.txt',
},
],
ignorePaths: [
'src/locales/',
],
language: 'en',
version: '0.2',
};
Example Repository
No response
Code of Conduct
- I agree to follow this project's Code of Conduct