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 1 year ago
That’s from ESLint, not javascript itself. JS doesn’t care about unused variables
jim_stark@programming.dev 1 year ago
JS simply does not care.
newIdentity@sh.itjust.works 1 year ago
I said ESLint
Exusgu@lemmy.world 1 year 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 1 year ago
Oh it will. At least in combination with Vue. At least that’s the default. Of cause yiou can disable it.