Skip to content

Commit 2f3b94d

Browse files
committed
fix(eslint): globals
1 parent f94265d commit 2f3b94d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

template/eslint/eslint.config.js.ejs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ const config = [
6464
languageOptions: {
6565
globals: {
6666
...globals.node,
67+
wx: 'readonly',
68+
getApp: 'readonly',
69+
getCurrentPages: 'readonly',
6770
},
6871
},
6972
<%_ if (needsPrettier) { _%>

0 commit comments

Comments
 (0)