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

Commit d3139d9

Browse files
committed
Allow plugins and settings in overrides
1 parent e257345 commit d3139d9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/overrides.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import type { Environments } from './env';
22
import type { Extends } from './extends';
33
import type { Parser, ParserOptions } from './parser-options';
4+
import type { Plugin } from './plugin';
45
import type { Rules } from './rules';
6+
import type { Settings } from './settings';
57

68
/**
79
*
@@ -34,6 +36,12 @@ export interface Override {
3436
* @see [Specifying Parser Options](https://eslint.org/docs/user-guide/configuring/language-options#specifying-parser-options)
3537
*/
3638
parserOptions?: ParserOptions;
39+
/**
40+
* Which third-party plugins define additional rules, environments, configs, etc. for ESLint to use.
41+
*
42+
* @see [Configuring Plugins](https://eslint.org/docs/user-guide/configuring/plugins#configuring-plugins)
43+
*/
44+
plugins?: Plugin[];
3745
/**
3846
* Specifying Processor.
3947
*
@@ -46,6 +54,12 @@ export interface Override {
4654
* @see [Rules](https://eslint.org/docs/user-guide/configuring/rules)
4755
*/
4856
rules?: Rules;
57+
/**
58+
* Settings.
59+
*
60+
* @see [Settings](https://eslint.org/docs/user-guide/configuring/configuration-files#adding-shared-settings)
61+
*/
62+
settings?: Settings;
4963
}
5064

5165
/**

0 commit comments

Comments
 (0)