Skip to content

Bug: Cannon use processor and recommended configs together #353

Closed as not planned
@marekdedic

Description

@marekdedic

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

No one assigned

    Labels

    bugrepro:neededThis issue should include a reproducible example

    Type

    No type

    Projects

    Status

    Complete

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions