fix eslint validation

This commit is contained in:
zadam
2023-06-30 00:02:25 +02:00
parent eb34f9c64f
commit fc564f6aed
2 changed files with 5 additions and 5 deletions

View File

@@ -29,8 +29,8 @@
async function validatorJavaScript(text, options) {
if (glob.isMobile()
|| glob.getActiveTabNote() == null
|| glob.getActiveTabNote().mime === 'application/json') {
|| glob.getActiveContextNote() == null
|| glob.getActiveContextNote().mime === 'application/json') {
// eslint doesn't seem to validate pure JSON well
return [];
}