File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ import config from '@pengzhanbo/eslint-config'
33export default config ( {
44 pnpm : true ,
55 vue : false ,
6+ globals : {
7+ __PACKAGE_NAME__ : 'readonly' ,
8+ __PACKAGE_VERSION__ : 'readonly' ,
9+ } ,
610} , {
711 files : [ '**/*.md/*.ts' ] ,
812 rules : {
Original file line number Diff line number Diff line change @@ -14,9 +14,6 @@ import c from 'picocolors'
1414import { aliasMatches , transformWithEsbuild } from './compiler'
1515import { lookupFile , normalizePath } from './utils'
1616
17- declare const __PACKAGE_NAME__ : string
18- declare const __PACKAGE_VERSION__ : string
19-
2017type PluginContext < T = Plugin [ 'buildEnd' ] > = T extends (
2118 this : infer R ,
2219 ...args : any [ ]
Original file line number Diff line number Diff line change 1+ declare const __PACKAGE_NAME__ : string
2+ declare const __PACKAGE_VERSION__ : string
You can’t perform that action at this time.
0 commit comments