Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 27d5fc8

Browse files
authored
Add missing option processor (#35)
ESLint allows to specifing processor for plugins. See more: https://eslint.org/docs/user-guide/configuring/plugins#specifying-processor It has been added as an optional key to the types, including inside the `overrides` key.
1 parent 74863f8 commit 27d5fc8

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/index.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ export interface EslintConfig {
7878
* @see [Settings](https://eslint.org/docs/user-guide/configuring/configuration-files#adding-shared-settings)
7979
*/
8080
settings?: Settings;
81+
/**
82+
* Specifying Processor.
83+
*
84+
* @see [processor](https://eslint.org/docs/user-guide/configuring/plugins#specifying-processor)
85+
*/
86+
processor?: string;
8187
}
8288

8389
/**

src/overrides.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ export interface Override {
2525
* @see [Rules](https://eslint.org/docs/user-guide/configuring/rules)
2626
*/
2727
rules?: Rules;
28+
/**
29+
* Specifying Processor.
30+
*
31+
* @see [processor](https://eslint.org/docs/user-guide/configuring/plugins#specifying-processor)
32+
*/
33+
processor?: string;
2834
}
2935

3036
/**

0 commit comments

Comments
 (0)