UNPKG

eslint-doc-generator

Version:

Automatic documentation generator for ESLint plugins and rules.

15 lines (14 loc) 719 B
import { COLUMN_TYPE, NOTICE_TYPE } from './types.js'; import type { Plugin, ConfigEmojis } from './types.js'; /** * Parse the options, check for errors, and set defaults. */ export declare function parseConfigEmojiOptions(plugin: Plugin, configEmoji?: readonly ([configName: string, emoji: string] | [configName: string])[]): ConfigEmojis; /** * Parse the option, check for errors, and set defaults. */ export declare function parseRuleListColumnsOption(ruleListColumns: readonly string[] | undefined): readonly COLUMN_TYPE[]; /** * Parse the option, check for errors, and set defaults. */ export declare function parseRuleDocNoticesOption(ruleDocNotices: readonly string[] | undefined): readonly NOTICE_TYPE[];