eslint-plugin-prefer-arrow-functions
                                
                                
                                
                                    eslint-plugin-prefer-arrow-functions copied to clipboard
                            
                            
                            
                        Fix removes the function name
Description
Before Fix: export default async function fetchFoo(
After Fix: export default async (signal: AbortSignal): Promise<ResponseStyles> => {
This is horrible because that function is called in the code, so it breaks the code.
Suggested Solution
Stop removing the name.
Help Needed
This should be fixed to
const fetchFoo = (signal: AbortSignal): Promise => {
   …
};
export default fetchFoo;
                                    
                                    
                                    
                                
Currently the plugin is ignoring default exports when they are a named function.