Skip to content

NoRestrictedImportPatternEntry

A single no-restricted-imports pattern entry pairing a group of banned import specifiers with a human-readable message explaining why they are banned.

Import:

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

Signature:

export interface NoRestrictedImportPatternEntry

Properties

PropertyTypeDescription
groupstring[]The glob group of import specifiers to ban.
messagestringHuman-readable message shown when an import matches the group.

Links to this page: