fiskercheung.com
@fiskercheung.com
Wow, you can add a default export to a module that uses named exports

```js
// module.js
export * as default from './module.js';
export const foo = 1;
export const bar = 2;
```

Prettier actually needs this (currently using an esbuild plugin)

github.com/prettier/pre...
github.com
October 31, 2025 at 4:17 PM
It also works in browsers, but I think it's reasonable.
October 31, 2025 at 3:37 PM
FYI: `() => undefined` is allowed under `checkArrowFunctionBody` option github.com/sindresorhus...
github.com
September 5, 2025 at 5:58 PM
Are you saying the override doesn't work anymore? That's unexpected.
June 23, 2025 at 11:51 PM
This change was made in v3.2.5, which version did you use before v3.6? github.com/prettier/pre...
github.com
June 23, 2025 at 6:54 PM