@eslint-types/typescript-eslint
Version:
TypeScript definitions for eslint-define-config
25 lines (23 loc) • 540 B
TypeScript
export interface Schema0 {
allow?: Array<
| string
| {
from: 'file';
name: string | [string, ...string[]];
path?: string;
}
| {
from: 'lib';
name: string | [string, ...string[]];
}
| {
from: 'package';
name: string | [string, ...string[]];
package: string;
}
>;
checkParameterProperties?: boolean;
ignoreInferredTypes?: boolean;
treatMethodsAsReadonly?: boolean;
}
export type PreferReadonlyParameterTypesRuleOptions = [Schema0?];