eslint global app var
This commit is contained in:
@@ -4,6 +4,9 @@ module.exports = {
|
||||
es2021: true,
|
||||
},
|
||||
extends: ['standard'],
|
||||
globals: {
|
||||
app: 'readonly',
|
||||
},
|
||||
parser: '@typescript-eslint/parser',
|
||||
parserOptions: {
|
||||
ecmaVersion: 13,
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* global app */ // make eslint happy with Obisidian's global app reference
|
||||
import { MarkdownView, Plugin, TFile } from 'obsidian'
|
||||
import {
|
||||
addToIndex,
|
||||
|
||||
Reference in New Issue
Block a user