lines such as `const MyReallyExtrememlyLongModuleName = require('MyReallyExtrememlyLongModuleName');` should not be split apart. Once split, module system parsers will fail to understand the dependency.
Activity
vjeux commentedon Feb 20, 2017
Can you tell us which require system you are working with? The ones I know have pretty permissive regarding to whitespace and should cover this case.
conartist6 commentedon Feb 21, 2017
Facebook's...
vjeux commentedon Feb 21, 2017
I opened an internal task about it, we need to fix our stuff rather than hardcoding something inside of prettier :)
Do not break require calls
Do not break require calls
Do not break require calls (#841)