File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
declare module "eslint-plugin-es-x" {
2
+ // @ts -ignore
2
3
export const rules : NonNullable < import ( 'eslint' ) . ESLint . Plugin [ "rules" ] > ;
3
4
}
4
5
5
6
declare module "@eslint-community/eslint-utils" {
7
+ // @ts -ignore
6
8
import * as estree from 'estree' ;
9
+ // @ts -ignore
7
10
import * as eslint from 'eslint' ;
8
11
9
12
type Node = estree . Node | estree . Expression ;
Original file line number Diff line number Diff line change 17
17
},
18
18
"dependencies" : {
19
19
"@eslint-community/eslint-utils" : " ^4.4.0" ,
20
- "@types/eslint" : " ^8.56.2" ,
21
20
"enhanced-resolve" : " ^5.15.0" ,
22
21
"eslint-plugin-es-x" : " ^7.5.0" ,
23
22
"get-tsconfig" : " ^4.7.0" ,
51
50
"punycode" : " ^2.3.0" ,
52
51
"release-it" : " ^17.0.0" ,
53
52
"rimraf" : " ^5.0.1" ,
53
+ "ts-ignore-import" : " ^4.0.1" ,
54
54
"type-fest" : " ^4.9.0" ,
55
55
"typescript" : " ^5.1.3"
56
56
},
65
65
"lint:js" : " eslint ." ,
66
66
"new" : " node scripts/new-rule" ,
67
67
"postversion" : " git push && git push --tags" ,
68
- "prepack" : " tsc --emitDeclarationOnly" ,
68
+ "prepack" : " tsc --emitDeclarationOnly && ts-ignore-import 'types/**/*.d.ts' --allow=@eslint-community/eslint-utils --allow=semver --allow=get-tsconfig " ,
69
69
"prepare" : " husky" ,
70
70
"preversion" : " npm test" ,
71
71
"test" : " run-p lint:* test:types test:tests" ,
You can’t perform that action at this time.
0 commit comments