Skip to content

Commit c7c4d17

Browse files
committed
fix: patch parser info
1 parent 44e9f01 commit c7c4d17

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/index.ts

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1-
import * as parserPlain from 'eslint-parser-plain'
1+
import * as _parserPlain from 'eslint-parser-plain'
2+
import type { Linter } from 'eslint'
23
import prettier from './rules/prettier'
34
import dprint from './rules/dprint'
45

6+
const parserPlain: Linter.ParserModule = {
7+
meta: {
8+
name: 'eslint-parser-plain',
9+
},
10+
..._parserPlain as { parseForESLint: any },
11+
}
12+
513
export default {
614
parserPlain,
715
rules: {

0 commit comments

Comments
 (0)