@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
29 lines (26 loc) • 655 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Disallow the use of `process.exit()`.
*
* @deprecated
*
* @see [no-process-exit](https://eslint.org/docs/latest/rules/no-process-exit)
*/
export type NoProcessExitRuleConfig = RuleConfig<[]>;
/**
* Disallow the use of `process.exit()`.
*
* @deprecated
*
* @see [no-process-exit](https://eslint.org/docs/latest/rules/no-process-exit)
*/
export interface NoProcessExitRule {
/**
* Disallow the use of `process.exit()`.
*
* @deprecated
*
* @see [no-process-exit](https://eslint.org/docs/latest/rules/no-process-exit)
*/
'no-process-exit': NoProcessExitRuleConfig;
}