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

Commit d3b2d4f

Browse files
committed
Add options type
1 parent e03d3c8 commit d3b2d4f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/rules/node/no-process-exit.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
import type { RuleConfig } from '../rule-config';
22

3+
/**
4+
* Options.
5+
*/
6+
export type NoProcessExitRuleOptions = [];
7+
38
/**
49
* Disallow the use of `process.exit()`.
510
*
611
* @see [no-process-exit](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-process-exit.md)
712
*/
8-
export type NoProcessExitRuleConfig = RuleConfig<[]>;
13+
export type NoProcessExitRuleConfig = RuleConfig<NoProcessExitRuleOptions>;
914

1015
/**
1116
* Disallow the use of `process.exit()`.

0 commit comments

Comments
 (0)