Jake Bailey

Results 1405 comments of Jake Bailey

FWIW I feel like this won't turn out well for people who have dprint on an on-save handler; if I'm in the middle of typing a template literal and I...

You can already do this via `"functionExpression.spaceAfterFunctionKeyword": true`: [Playground](https://dprint.dev/playground/#code/MYewdgzgLgBGCGBbApgEwGIFczCgS3AFEAPABwCdkIICwYBeGAM211riTSx3yLMuq0AFAEoYAbwCwAKBgxKUTOTpRymZAG4ZAXy3SZoSLHhhwAT0QhMEbmz4UqNcA2ateYURJlyFSlWs0dDSA/config/N4KABGBEBmCuB2BjALgSwPbwKIA8AOATgKYDOJG8AdCXgIaJECC0yRBAYgihQNJECeAd3QEAJpABcYZAVhEQAXxBA/language/typescript)

I too have switched to resolve aliases to work around this; I had this this previously and assumed it was my fault, but there's something going on in the plugin....

I've filed dividab/tsconfig-paths#143 for this, but one place this will pop up again is in TS 4.1 and above, which don't require `baseUrl` anymore (and will resolve paths relative to...

See also: dividab/tsconfig-paths#143, https://github.com/dividab/tsconfig-paths-webpack-plugin/issues/32#issuecomment-695134747

Since 4.1, I've worked around this with secondary configs that extend and add a baseUrl; after hitting more bugs like #60, I've found that it's easier to drop the plugin...

Sure, the function I wrote to generate aliases is here: https://github.com/microsoft/pyright/blob/169c6089b9914870c43622743c75844657cd9d70/build/lib/webpack.js#L90 `resolve.alias` gets set to the return value of this function. As far as I can tell, this is all...

I have no idea what storybook is, but I don't see why not. Can't hurt to try.

Last I looked, `paths` is not a config that is carried over from the extended config, so if your project doesn't copy/paste `paths` around, they aren't working correctly in the...