UNPKG

@antfu/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

23 lines (20 loc) 665 B
import type { RuleConfig } from '../rule-config'; /** * Disallow control flow statements in `finally` blocks. * * @see [no-unsafe-finally](https://eslint.org/docs/latest/rules/no-unsafe-finally) */ export type NoUnsafeFinallyRuleConfig = RuleConfig<[]>; /** * Disallow control flow statements in `finally` blocks. * * @see [no-unsafe-finally](https://eslint.org/docs/latest/rules/no-unsafe-finally) */ export interface NoUnsafeFinallyRule { /** * Disallow control flow statements in `finally` blocks. * * @see [no-unsafe-finally](https://eslint.org/docs/latest/rules/no-unsafe-finally) */ 'no-unsafe-finally': NoUnsafeFinallyRuleConfig; }