Skip to content

List entry without followed empty line eliminates configuration/skip comments #76

Closed
@vsemozhetbyt

Description

@vsemozhetbyt

[email protected], [email protected]

Test doc 1:

* List entry

<!-- eslint-disable strict -->
```js
console.log('a');
```

* List entry

<!-- eslint-skip -->
```js
> console.log('a');
```

No errors.

Test doc 2:

* List entry
<!-- eslint-disable strict -->
```js
console.log('a');
```

* List entry
<!-- eslint-skip -->
```js
> console.log('a');
```

Comments are ignored:

   4:1  error  Use the global form of 'use strict'     strict
  10:1  error  Parsing error: Unexpected token >

No other block or span Markdown elements have this issue. All list elements (unordered with * + - or ordered with 1. ...) have the same issue (both one- and multiline).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Complete

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions