Closed as not planned
Description
Environment
ESLint version: v9.25.0
@eslint/markdown version: 6.4.0
Node version: v22.11.0
npm version: 11.3.0
Operating System: Ubuntu 24.04
Which language are you using?
commonmark
What did you do?
Configuration
export default tseslint.config(
...markdown.configs.processor,
...markdown.configs.recommended,
);
## Adding images dynamically to lightbox
###### Example:
```js
const lightbox = new ImageLightbox(
document.querySelectorAll('a[data-imagelightbox="xyz"]'),
)
```
What did you expect to happen?
2 errors:
- About headings going from 2 -> 6 (MD error)
- About
ImageLightbox
not being defined (JS error)
What actually happened?
Just one error - the JS one.
Link to Minimal Reproducible Example
N/A
Participation
- I am willing to submit a pull request for this issue.
Additional comments
No response
Metadata
Metadata
Assignees
Type
Projects
Status
Complete