Chakroun-Anas / turbo-console-log

588 stars 140 forks source link

turbo for errors shortcut #239

Open devdariill opened 1 month ago

devdariill commented 1 month 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.