Skip to content

agnosticCoreBoundaryNoRestrictedImportPatterns

no-restricted-imports pattern entries banning relative imports into the obsidian layer.

Intended to be applied (via a file-scoped ESLint config) to the agnostic top-level src/*.ts modules, excluding the generated barrel and test files.

Import:

import { agnosticCoreBoundaryNoRestrictedImportPatterns } from 'obsidian-dev-utils/script-utils/linters/eslint-agnostic-core-boundary';

Signature:

const agnosticCoreBoundaryNoRestrictedImportPatterns: readonly NoRestrictedImportPatternEntry[]

Type: readonly NoRestrictedImportPatternEntry[]