@stayradiated/eslint-plugin-prefer-arrow-functions
Version:
Convert functions to arrow functions
11 lines (10 loc) • 307 B
TypeScript
import type { Rule } from 'eslint';
declare type Options = {
singleReturnOnly?: boolean;
disallowPrototype?: boolean;
returnStyle?: 'unchanged' | 'explicit' | 'implicit';
classPropertiesAllowed?: boolean;
};
declare const rule: Rule.RuleModule;
export default rule;
export type { Options };