import type { JsonObject } from '@angular-devkit/core'; import type { Linter } from 'eslint'; export interface Schema extends JsonObject { eslintConfig: string | null; lintFilePatterns: string[]; format: Formatter; force: boolean; silent: boolean; fix: boolean; cache: boolean; noEslintrc: boolean; outputFile: string | null; cacheLocation: string | null; maxWarnings: number; quiet: boolean; ignorePath: string | null; /** @deprecated No longer has any effect. Will be removed in Nx v23. */ hasTypeAwareRules?: boolean; cacheStrategy: 'content' | 'metadata' | null; rulesdir: string[]; resolvePluginsRelativeTo: string | null; reportUnusedDisableDirectives: Linter.StringSeverity | null; printConfig?: string | null; errorOnUnmatchedPattern?: boolean; suppressAll?: boolean; suppressRule?: string[]; suppressionsLocation?: string; } type Formatter = 'stylish' | 'html' | 'json' | 'json-with-metadata';