mirror of
https://github.com/youwen5/site.git
synced 2024-11-24 17:33:51 -08:00
fix: add global types to eslint
This commit is contained in:
parent
c0df941afd
commit
49e95befd0
1 changed files with 5 additions and 1 deletions
|
@ -27,5 +27,9 @@ module.exports = {
|
||||||
parser: '@typescript-eslint/parser'
|
parser: '@typescript-eslint/parser'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
globals: {
|
||||||
|
BlogDocument: true,
|
||||||
|
PostMeta: true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue