I said ESLint
Comment on Golang be like
peterj74@lemmy.world 10 months agoThat’s from ESLint, not javascript itself. JS doesn’t care about unused variables
newIdentity@sh.itjust.works 10 months ago
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.
killeronthecorner@lemmy.world 10 months ago
You’re describing many things that are not JavaScript the language. If you create and use tools that will stop you then yes they will stop you.
jim_stark@programming.dev 10 months ago
JS simply does not care.