17 lines
762 B
Plaintext
17 lines
762 B
Plaintext
import type { TSESLint } from '@typescript-eslint/utils';
|
|
import type { TypeOrValueSpecifier } from '../util';
|
|
export type Options = [
|
|
{
|
|
allowForKnownSafeCalls?: TypeOrValueSpecifier[];
|
|
allowForKnownSafePromises?: TypeOrValueSpecifier[];
|
|
checkThenables?: boolean;
|
|
ignoreIIFE?: boolean;
|
|
ignoreVoid?: boolean;
|
|
}
|
|
];
|
|
export type MessageId = 'floating' | 'floatingFixAwait' | 'floatingFixVoid' | 'floatingPromiseArray' | 'floatingPromiseArrayVoid' | 'floatingUselessRejectionHandler' | 'floatingUselessRejectionHandlerVoid' | 'floatingVoid';
|
|
declare const _default: TSESLint.RuleModule<MessageId, Options, import("../../rules").ESLintPluginDocs, TSESLint.RuleListener> & {
|
|
name: string;
|
|
};
|
|
export default _default;
|