Skip to content

linters/eslint-config

The shared ESLint configuration for Obsidian plugins.

It is the generic configuration of @mnaoumov/typescript-dev-toolkit plus the Obsidian layers alone: eslint-plugin-obsidianmd’s recommended rules, the root manifest.json and LICENSE, the Node-builtins exemptions of desktop-only modules and tests, the integration-test rules and the Obsidian in-house rules.

Function Description
defineEslintConfigs Build ESLint configurations. This function builds the ESLint configurations of an Obsidian plugin: the generic configuration of @mnaoumov/typescript-dev-toolkit plus the Obsidian layers.