import { type EslintTsRestrictionsRules, withDefaultOption, } from '../types/index.mjs'; export const eslintTsRestrictionsRules = { 'ts-restrictions/no-restricted-syntax': 'off', 'ts-restrictions/no-restricted-cast-name': 'off', 'ts-restrictions/no-string-spread': 'error', 'ts-restrictions/no-unnecessary-array-from': 'error', 'ts-restrictions/no-unnecessary-coalesce-undefined': 'error', 'ts-restrictions/prefer-curried-call': 'error', 'ts-restrictions/prefer-non-mutating-array-method': 'error', 'ts-restrictions/prefer-nullish-coalescing-when-safe': 'error', 'ts-restrictions/check-destructuring-completeness': withDefaultOption('error'), } as const satisfies EslintTsRestrictionsRules;