UNPKG

@kitschpatrol/mdat-config

Version:
25 lines (24 loc) 953 B
import { mergeConfigs } from 'mdat'; // export { commandDefinition } from './command.js' const sharedMdatConfig = { rules: { 'shared-config': '## Project configuration\n\nThis project uses [@kitschpatrol/shared-config](https://github.com/kitschpatrol/shared-config) to consolidate various linting and formatting tool configurations under a single dependency and the CLI command `kpi`. (ESLint, Prettier, CSpell, etc.)', }, }; /** * **\@Kitschpatrol's Shared Mdat Configuration** * @see [@kitschpatrol/mdat-config](https://github.com/kitschpatrol/shared-config/tree/main/packages/mdat-config) * @see [@kitschpatrol/shared-config](https://github.com/kitschpatrol/shared-config) * @example * ```ts * export default mdatConfig({ * rules: { * test: '**This is a test rule.**', * }, * }) * ``` */ export function mdatConfig(config) { return mergeConfigs(sharedMdatConfig, config ?? {}); } export default sharedMdatConfig;