-
Notifications
You must be signed in to change notification settings - Fork 84
Closed as not planned
Labels
bugrepro:neededThis issue should include a reproducible exampleThis issue should include a reproducible example
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
ImageLightboxnot 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
ericcornelissen
Metadata
Metadata
Assignees
Labels
bugrepro:neededThis issue should include a reproducible exampleThis issue should include a reproducible example
Type
Projects
Status
Complete