UNPKG

@putout/plugin-promises

Version:
6 lines (4 loc) 173 B
export const report = () => `Use 'async function' instead of 'Promise.resolve()'`; export const replace = () => ({ '() => Promise.resolve(__a)': 'async () => __a', });