I said ESLint
Comment on Golang be like
peterj74@lemmy.world 1 year agoThat’s from ESLint, not javascript itself. JS doesn’t care about unused variables
newIdentity@sh.itjust.works 1 year ago
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.
killeronthecorner@lemmy.world 1 year 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 1 year ago
JS simply does not care.