File tree 2 files changed +8
-2
lines changed 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
import type * as ESlint from "eslint" ;
2
2
import * as visitor from "./visitor" ;
3
3
import { SyntaxError as PeggySyntaxError , parse } from "./parser.js" ;
4
-
5
4
export { visitor } ;
5
+ import { name , version } from "../package.json" ;
6
+
7
+ export const meta = {
8
+ name,
9
+ version,
10
+ } ;
6
11
7
12
const RESERVED_WORDS = [
8
13
// Reserved keywords as of ECMAScript 2015
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
- "noErrorTruncation" : true ,
4
3
"allowJs" : true ,
5
4
"declaration" : true ,
6
5
"declarationMap" : false ,
10
9
"module" : " nodeNext" ,
11
10
"moduleResolution" : " nodeNext" ,
12
11
"noEmitOnError" : true ,
12
+ "noErrorTruncation" : true ,
13
13
"noImplicitReturns" : true ,
14
14
"outDir" : " ./lib/" ,
15
15
"removeComments" : false ,
16
+ "resolveJsonModule" : true ,
16
17
"rootDir" : " ./src" ,
17
18
"skipLibCheck" : true ,
18
19
"sourceMap" : false ,
You can’t perform that action at this time.
0 commit comments