Environment
ESLint version: 9.39.4
@eslint/json version: 2.0.1
Node version: 24.19
npm version: 11.19
Operating System: Linux
Which language are you using?
jsonc
What did you do?
Configuration
<!-- Paste your configuration here -->
{
files: ['.devcontainer/devcontainer.json'],
language: 'json/jsonc',
...json.configs.recommended,
...cspellRecommended,
rules: {
'@cspell/spellchecker': 2,
},
},
<!-- Paste your code here -->
{
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/copilot-cli:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {
// GH queries intermittenly demand unexpected authentication, try APT.
"installDirectlyFromGitHubRelease": false
}
},
}
What did you expect to happen?
cspell should flag "intermittenly" typo.
What actually happened?
eslint passes.
Link to Minimal Reproducible Example
Participation
AI acknowledgment
Additional comments
LLM hypothesis on cause: "@eslint/json/Momoa represents JSONC comments as LineComment tokens under Document.tokens; CSpell plugin skips tokens during AST traversal and only handles Line/Block comment nodes. checkScope cannot reach these tokens, so JSON comments are unsupported by this parser/plugin combination."
Environment
ESLint version: 9.39.4
@eslint/json version: 2.0.1
Node version: 24.19
npm version: 11.19
Operating System: Linux
Which language are you using?
jsonc
What did you do?
Configuration
What did you expect to happen?
cspellshould flag "intermittenly" typo.What actually happened?
eslint passes.
Link to Minimal Reproducible Example
Participation
AI acknowledgment
Additional comments
LLM hypothesis on cause: "@eslint/json/Momoa represents JSONC comments as LineComment tokens under Document.tokens; CSpell plugin skips tokens during AST traversal and only handles Line/Block comment nodes. checkScope cannot reach these tokens, so JSON comments are unsupported by this parser/plugin combination."