mirror of
https://github.com/ckelsoe/obsidian-rss-importer.git
synced 2026-07-22 07:48:56 +00:00
Bootstrap obsidian-rss-importer from plugin-templates/standard: placeholders substituted, isDesktopOnly set true, Turndown + jsdom test deps added, esbuild bumped to 0.28.1 to clear advisory GHSA-gv7w-rqvm-qjhr (matches shell-path-copy). Build and lint green; main.ts is a wiring-only stub pending feature phases.
47 lines
888 B
TypeScript
47 lines
888 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,
|
|
...globals.node,
|
|
},
|
|
parserOptions: {
|
|
projectService: {
|
|
allowDefaultProject: [
|
|
"eslint.config.mts",
|
|
"manifest.json",
|
|
],
|
|
},
|
|
tsconfigRootDir: import.meta.dirname,
|
|
extraFileExtensions: [".json"],
|
|
},
|
|
},
|
|
},
|
|
...obsidianmd.configs.recommended,
|
|
{
|
|
files: ["__tests__/**/*.ts"],
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.jest,
|
|
},
|
|
},
|
|
},
|
|
globalIgnores([
|
|
"node_modules",
|
|
"dist",
|
|
"main.js",
|
|
"scripts",
|
|
"esbuild.config.mjs",
|
|
"version-bump.mjs",
|
|
"versions.json",
|
|
"package.json",
|
|
"package-lock.json",
|
|
"tsconfig.json",
|
|
"jest.config.cjs",
|
|
]),
|
|
);
|