Files
zettelclean/eslint.config.mts
Ruben Carlo Benante 99a123a075
Some checks failed
Node.js build / build (20.x) (push) Has been cancelled
Node.js build / build (22.x) (push) Has been cancelled
Node.js build / build (24.x) (push) Has been cancelled
Release Obsidian plugin / build (push) Has been cancelled
zettelclean, an obsidian plugin that cleans filenames based on h1 header
2026-07-28 14:24:59 -03:00

33 lines
676 B
TypeScript

import obsidianmd from 'eslint-plugin-obsidianmd';
import globals from 'globals';
import { globalIgnores, defineConfig } from 'eslint/config';
export default defineConfig(
globalIgnores([
'node_modules',
'dist',
'esbuild.config.mjs',
'version-bump.mjs',
'versions.json',
'main.js',
'package.json',
'package-lock.json',
'tsconfig.json',
]),
{
languageOptions: {
globals: {
...globals.browser,
},
parserOptions: {
projectService: {
allowDefaultProject: ['eslint.config.mts', 'manifest.json'],
},
tsconfigRootDir: import.meta.dirname,
extraFileExtensions: ['.json'],
},
},
},
...obsidianmd.configs.recommended,
);