Hey thanks for the plugin, it's so useful !
I recently updated to v56 and was surprised about the autofix
It's very common to have
const isServer = typeof window === 'undefined';
const isBrowser = typeof window !== 'undefined'
It fixes to
const isServer = typeof globalThis === 'undefined';
const isBrowser = typeof globalThis !== 'undefined';
Which isn't valid
Interested to know your advices.
PS: Thanks to @fregant comment below: window' in globalThis
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too