t3-oss / create-t3-turbo

Clean and simple starter repo using the T3 Stack along with Expo React Native
https://turbo.t3.gg
MIT License
4.73k stars 408 forks source link

Fix ESLint not working on VSCode #1128 #1143

Closed smblee closed 3 months ago

smblee commented 3 months ago

Closes #1128

smblee commented 3 months ago

@juliusmarminge Good call out. I am on v20.15.1 but looks like ESLint plugin in VSCode is using v20.9.0. Wonder how the ESLint plugin is pulling the node to use

smblee commented 3 months ago

@juliusmarminge As i noted here: https://github.com/t3-oss/create-t3-turbo/issues/1128

VSCode ESLint is kinda finicky in that it doesn't have a good way to set the node version (like matching the proj environment node config)

This suggested change might be good to be compatible with older versions of Node? Otherwise it just becomes a silent failure until you notice it