import type { RuleConfig } from '../rule-config'; /** * Option. */ export type HandleCallbackErrOption = string; /** * Options. */ export type HandleCallbackErrOptions = [HandleCallbackErrOption?]; /** * Require error handling in callbacks. * * @see [handle-callback-err](https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/handle-callback-err.md) */ export type HandleCallbackErrRuleConfig = RuleConfig; /** * Require error handling in callbacks. * * @see [handle-callback-err](https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/handle-callback-err.md) */ export interface HandleCallbackErrRule { /** * Require error handling in callbacks. * * @see [handle-callback-err](https://github.com/mysticatea/eslint-plugin-node/blob/v11.1.0/docs/rules/handle-callback-err.md) */ 'node/handle-callback-err': HandleCallbackErrRuleConfig; }