tbergeron_obsidian-human-re.../eslint.config.mts
Tommy Bergeron f2f6032d8b Add PR Analyzer GitHub Action and script
- Introduced a new GitHub Action workflow for analyzing pull requests, triggered by pull request events or manually.
- Added a new script `pr-analyzer.mjs` to gather context from the repository and analyze pull requests using an AI model.
- Updated ESLint configuration to include the new script for linting.
2026-06-10 12:32:18 -04:00

36 lines
746 B
TypeScript

import tseslint from 'typescript-eslint';
import obsidianmd from "eslint-plugin-obsidianmd";
import globals from "globals";
import { globalIgnores } from "eslint/config";
export default tseslint.config(
{
languageOptions: {
globals: {
...globals.browser,
},
parserOptions: {
projectService: {
allowDefaultProject: [
'eslint.config.js',
'manifest.json'
]
},
tsconfigRootDir: import.meta.dirname,
extraFileExtensions: ['.json']
},
},
},
...obsidianmd.configs.recommended,
globalIgnores([
"node_modules",
"dist",
"esbuild.config.mjs",
"eslint.config.js",
"version-bump.mjs",
"versions.json",
"main.js",
"scripts/issue-analyzer.mjs",
"scripts/pr-analyzer.mjs",
]),
);