UNPKG

@antfu/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

23 lines (20 loc) 734 B
import type { RuleConfig } from '../rule-config'; /** * Disallow unreadable IIFEs. * * @see [no-unreadable-iife](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/no-unreadable-iife.md) */ export type NoUnreadableIifeRuleConfig = RuleConfig<[]>; /** * Disallow unreadable IIFEs. * * @see [no-unreadable-iife](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/no-unreadable-iife.md) */ export interface NoUnreadableIifeRule { /** * Disallow unreadable IIFEs. * * @see [no-unreadable-iife](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/no-unreadable-iife.md) */ 'unicorn/no-unreadable-iife': NoUnreadableIifeRuleConfig; }