mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-03-16 21:53:07 +00:00
chore: Add PageTransitionEvent and APP_BUILD_HASH to eslint globals
This commit is contained in:
@@ -79,6 +79,7 @@ const eslintConfig = defineConfig([
|
|||||||
MouseEvent: 'readonly',
|
MouseEvent: 'readonly',
|
||||||
UIEvent: 'readonly',
|
UIEvent: 'readonly',
|
||||||
MediaQueryListEvent: 'readonly',
|
MediaQueryListEvent: 'readonly',
|
||||||
|
PageTransitionEvent: 'readonly',
|
||||||
DataTransfer: 'readonly',
|
DataTransfer: 'readonly',
|
||||||
// Web APIs
|
// Web APIs
|
||||||
ResizeObserver: 'readonly',
|
ResizeObserver: 'readonly',
|
||||||
@@ -116,6 +117,7 @@ const eslintConfig = defineConfig([
|
|||||||
console: 'readonly',
|
console: 'readonly',
|
||||||
// Vite defines
|
// Vite defines
|
||||||
__APP_VERSION__: 'readonly',
|
__APP_VERSION__: 'readonly',
|
||||||
|
__APP_BUILD_HASH__: 'readonly',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: {
|
plugins: {
|
||||||
|
|||||||
Reference in New Issue
Block a user