Skip to content

Commit

Permalink
Add extends property to Override
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Mar 25, 2021
1 parent 96d7760 commit 708c811
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/overrides.d.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,33 @@
import type { Environments } from './env';
import type { Extends } from './extends';
import type { Rules } from './rules';

/**
*
*/
export interface Override {
files: string[];
/**
* An environment provides predefined global variables.
*
* @see [Environments](https://eslint.org/docs/user-guide/configuring/language-options#specifying-environments)
*/
env?: Environments;
/**
* Extending Configuration Files.
*
* @see [Extends](https://eslint.org/docs/user-guide/configuring/configuration-files#extending-configuration-files)
*/
extends?: Extends;
/**
* Rules.
*
* @see [Rules](https://eslint.org/docs/user-guide/configuring/rules)
*/
rules?: Rules;
}

/**
*
* Overrides.
*/
export type Overrides = Array<Override>;

0 comments on commit 708c811

Please sign in to comment.