Skip to main content

Interface: PluginConfigs

Defined in: configs.ts:53

Available flat-config presets exported by the plugin.

Extends

Indexable

[key: string]: unknown
[key: number]: unknown
[key: symbol]: unknown

Properties

all

readonly all: PresetWithPlugin<"etc-misc/all", Readonly<Record<string, RuleSeverity>>>;

Defined in: configs.ts:54


allStrict

readonly allStrict: PresetWithPlugin<"etc-misc/all-strict", Readonly<Record<string, RuleSeverity>>>;

Defined in: configs.ts:58


minimal

readonly minimal: PresetWithPlugin<"etc-misc/minimal", {
etc-misc/consistent-optional-props: "warn";
etc-misc/no-assign-mutated-array: "error";
etc-misc/no-const-enum: "warn";
etc-misc/no-function-declare-after-return: "warn";
etc-misc/no-implicit-any-catch: "error";
etc-misc/no-internal: "error";
etc-misc/no-t: "error";
etc-misc/no-unnecessary-as-const: "warn";
etc-misc/no-unnecessary-break: "warn";
etc-misc/no-unnecessary-initialization: "warn";
etc-misc/no-unnecessary-template-literal: "warn";
etc-misc/no-vulnerable: "error";
etc-misc/throw-error: "error";
etc-misc/typescript/no-boolean-literal-type: "error";
etc-misc/typescript/require-readonly-array-return-type: "warn";
etc-misc/typescript/require-this-void: "warn";
}>;

Defined in: configs.ts:62


readonly recommended: PresetWithPlugin<"etc-misc/recommended", {
etc-misc/consistent-optional-props: "warn";
etc-misc/no-assign-mutated-array: "error";
etc-misc/no-const-enum: "warn";
etc-misc/no-function-declare-after-return: "warn";
etc-misc/no-implicit-any-catch: "error";
etc-misc/no-internal: "error";
etc-misc/no-t: "error";
etc-misc/no-unnecessary-as-const: "warn";
etc-misc/no-unnecessary-break: "warn";
etc-misc/no-unnecessary-initialization: "warn";
etc-misc/no-unnecessary-template-literal: "warn";
etc-misc/no-vulnerable: "error";
etc-misc/throw-error: "error";
etc-misc/typescript/no-boolean-literal-type: "error";
etc-misc/typescript/prefer-readonly-array: "warn";
etc-misc/typescript/prefer-readonly-array-parameter: "warn";
etc-misc/typescript/prefer-readonly-index-signature: "warn";
etc-misc/typescript/prefer-readonly-map: "warn";
etc-misc/typescript/prefer-readonly-property: "warn";
etc-misc/typescript/prefer-readonly-record: "warn";
etc-misc/typescript/prefer-readonly-set: "warn";
etc-misc/typescript/require-readonly-array-return-type: "warn";
etc-misc/typescript/require-this-void: "warn";
}>;

Defined in: configs.ts:66


strict

readonly strict: PresetWithPlugin<"etc-misc/strict", Readonly<{
etc-misc/consistent-optional-props: "error";
etc-misc/no-assign-mutated-array: "error";
etc-misc/no-const-enum: "error";
etc-misc/no-function-declare-after-return: "error";
etc-misc/no-implicit-any-catch: "error";
etc-misc/no-internal: "error";
etc-misc/no-t: "error";
etc-misc/no-unnecessary-as-const: "error";
etc-misc/no-unnecessary-break: "error";
etc-misc/no-unnecessary-initialization: "error";
etc-misc/no-unnecessary-template-literal: "error";
etc-misc/no-vulnerable: "error";
etc-misc/throw-error: "error";
etc-misc/typescript/no-boolean-literal-type: "error";
etc-misc/typescript/prefer-readonly-array: "error";
etc-misc/typescript/prefer-readonly-array-parameter: "error";
etc-misc/typescript/prefer-readonly-index-signature: "error";
etc-misc/typescript/prefer-readonly-map: "error";
etc-misc/typescript/prefer-readonly-property: "error";
etc-misc/typescript/prefer-readonly-record: "error";
etc-misc/typescript/prefer-readonly-set: "error";
etc-misc/typescript/require-readonly-array-return-type: "error";
etc-misc/typescript/require-this-void: "error";
}>>;

Defined in: configs.ts:70


strictTypeChecked

readonly strictTypeChecked: PresetWithPlugin<"etc-misc/strict-type-checked", Readonly<Record<string, "error">>> & {
languageOptions: Readonly<{
parserOptions: Readonly<{
projectService: true;
}>;
}>;
};

Defined in: configs.ts:74

Type Declaration

languageOptions
readonly languageOptions: Readonly<{
parserOptions: Readonly<{
projectService: true;
}>;
}>;