# CreateConfigOptions

`interface` in `eslint-config` · v1.4.3-next.0

<https://docs.seedcord.org/packages/eslint-config/1.4.3-next.0/interfaces/create-config-options>

```ts
interface CreateConfigOptions
```

## Properties

### generalIgnores

```ts
generalIgnores: string[]
```

Additional glob patterns to extend the shared ignore list

### mdxFiles

```ts
mdxFiles: string[]
```

File globs to enable MDX linting on (typically every `.mdx` file).

When provided, registers the `eslint-mdx` parser + `mdx` plugin and applies the core `no-unused-expressions` rule to embedded JS/JSX. Omit to disable entirely (no parser, no rules), mirroring how [`tailwindEntryPoint`](/packages/eslint-config/1.4.3-next.0/interfaces/create-config-options#tailwind-entry-point) gates Tailwind. Does not lint markdown prose. Requires `eslint-plugin-mdx` (bundled as a dependency).

### registerImportPlugin

```ts
registerImportPlugin: boolean;
```

Toggle registration of the `eslint-plugin-import` plugin

### registerPrettierPlugin

```ts
registerPrettierPlugin: boolean;
```

Toggle registration of the `eslint-plugin-prettier` plugin

### registerSecurityPlugin

```ts
registerSecurityPlugin: boolean;
```

Toggle registration of the `eslint-plugin-security` plugin

### registerTsdocPlugin

```ts
registerTsdocPlugin: boolean;
```

Toggle registration of the `eslint-plugin-tsdoc` plugin

### registerTypescriptConfigs

```ts
registerTypescriptConfigs: boolean;
```

Toggle registration of TypeScript ESLint configs

### tailwindCalleeFunctions

```ts
tailwindCalleeFunctions: string[]
```

Utility function names whose string arguments should be scanned for non-canonical Tailwind classes.

Applied to both plugins (better-tailwindcss `callees` + tailwind-canonical-classes `calleeFunctions`). Defaults to seedcord's `cn` helper, the only call site that holds literal class strings; the `tw` tagged template is handled by [`tailwindTaggedTemplates`](/packages/eslint-config/1.4.3-next.0/interfaces/create-config-options#tailwind-tagged-templates).

 ['cn']

### tailwindEntryPoint

```ts
tailwindEntryPoint: string;
```

Absolute path to the consumer's Tailwind entry CSS file (the one with `@import 'tailwindcss'`). When provided, the canonical-class lint rules are registered as `warn`: - `better-tailwindcss/enforce-canonical-classes` (shorthand combining, e.g. `h-N w-N → size-N`) - `tailwind-canonical-classes/tailwind-canonical-classes` (arbitrary-value scale normalization)

When omitted, both rules are off, useful for packages with no Tailwind surface (CLI, framework, types). Shared packages without their own `globals.css` should pass a sibling app's entry via [`resolveSharedTailwindEntry`](/packages/eslint-config/1.4.3-next.0/functions/resolve-shared-tailwind-entry).

Requires `tailwindcss` to be installed in the consuming package (an optional peerDependency).

### tailwindTaggedTemplates

```ts
tailwindTaggedTemplates: string[]
```

Tagged template literal names whose template content should be scanned for non-canonical Tailwind classes.

Only the `better-tailwindcss` plugin supports tagged templates today; `tailwind-canonical-classes` canonicalizes JSX className attrs + string-literal callees only. Seedcord uses a custom `tw` template tag in `packages/ui/src/lib/tw.ts`, so the default scans that.

 ['tw']

### tsconfigRootDir

```ts
tsconfigRootDir: string;
```

Root directory for TypeScript configuration

### userConfigs

```ts
userConfigs: FlatConfigItem[]
```

Additional user-defined ESLint configuration items to merge
