UNPKG

eslint-doc-generator

Version:

Automatic documentation generator for ESLint plugins and rules.

9 lines (8 loc) 682 B
import { COLUMN_TYPE, NOTICE_TYPE } from './types.js'; import type { Plugin, ConfigEmojis, GenerateOptions } from './types.js'; /** Parse the options, check for errors, and set defaults. */ export declare function parseConfigEmojiOptions(plugin: Plugin, configEmoji: GenerateOptions['configEmoji']): 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[];