Comment on Golang be like
Image
Are you sure?
That’s from ESLint, not javascript itself. JS doesn’t care about unused variables
JS simply does not care.
I said ESLint
ESLint won’t prevent you from running your code, which is what the OP is on about. Hence the confusion in this thread.
Oh it will. At least in combination with Vue. At least that’s the default. Of cause yiou can disable it.
peterj74@lemmy.world 10 months ago
That’s from ESLint, not javascript itself. JS doesn’t care about unused variables
jim_stark@programming.dev 10 months ago
JS simply does not care.
newIdentity@sh.itjust.works 10 months ago
I said ESLint
Exusgu@lemmy.world 10 months ago
ESLint won’t prevent you from running your code, which is what the OP is on about. Hence the confusion in this thread.
newIdentity@sh.itjust.works 10 months ago
Oh it will. At least in combination with Vue. At least that’s the default. Of cause yiou can disable it.