mirror of
https://github.com/gabriele-cusato/HandTranscriptMd.git
synced 2026-07-22 06:14:06 +00:00
- bumped minAppVersion a 1.7.2 (no-unsupported-api) - sostituito document con activeDocument (prefer-active-doc) - aggiunto prefisso window. a setTimeout/clearTimeout/requestAnimationFrame/cancelAnimationFrame - aggiornato eslint-plugin-obsidianmd a 0.3.0, aggiunto tseslint.configs.recommendedTypeChecked - rimossi globals obsoleti da eslint.config.mjs - fix prefer-const in editor-view.ts e md-parser.ts - bumped versione a 1.0.2
24 lines
556 B
JavaScript
24 lines
556 B
JavaScript
import { defineConfig } from "eslint/config";
|
|
import obsidianmd from "eslint-plugin-obsidianmd";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
export default defineConfig([
|
|
...obsidianmd.configs.recommended,
|
|
...tseslint.configs.recommendedTypeChecked,
|
|
{
|
|
files: ["**/*.ts"],
|
|
languageOptions: {
|
|
parserOptions: {
|
|
project: "./tsconfig.json",
|
|
tsconfigRootDir: import.meta.dirname,
|
|
},
|
|
globals: {
|
|
window: "readonly",
|
|
performance: "readonly",
|
|
console: "readonly",
|
|
process: "readonly",
|
|
Image: "readonly",
|
|
},
|
|
},
|
|
},
|
|
]);
|