Chakroun-Anas / turbo-console-log

600 stars 141 forks source link

turbo for errors shortcut #239

Open devdariill opened 5 months ago

devdariill commented 5 months ago

add a shortcut to create a turbo with type console.error and a different emoji like normal shortcut: console.log('🚀 ~ file: middleware.ts:19 ~ user:', data) error shortcut: console.error('❌ ~ file: middleware.ts:19 ~ user:', data)

With ESLint, console.error statements can be allowed, while console.log statements should throw errors or warnings.