UNPKG

@shayanthenerd/eslint-config

Version:

A modern, flexible ESLint configuration for enforcing best practices and maintaining a consistent coding style

16 lines (15 loc) 515 B
import { RuleOptions } from "../eslintRules.js"; import { ConfigWithOverrides } from "../index.js"; //#region src/types/configOptions/perfectionist.d.ts interface PerfectionistOptions extends ConfigWithOverrides { /** * The type of sorting. * * @default 'line-length' * * @see [Perfectionist Settings: `type` option](https://perfectionist.dev/guide/getting-started#settings) */ sortType?: RuleOptions<'perfectionist/sort-imports'>['type']; } //#endregion export { type PerfectionistOptions };