3 ms·
> Boy am I happy not to work with you. It wasn't my decision to introduce such draconic rules, but in practice it turned out to be a non-issue. Production code
by flohofwoe 3y ago
> Boy am I happy not to work with you.
It wasn't my decision to introduce such draconic rules, but in practice it turned out to be a non-issue. Production code should be warning-free, and warnings should be treated as errors. Two simple rules that both make a lot of sense, no matter what language.
PS: that 'unused variables are errors' linter rule is actually coming from the airbnb eslint plugin (which AFAIK is quite popular in the JS/TS world: https://github.com/airbnb/javascript/blob/c25bce83be4db06e6a221d79686c485cd2ed5d5d/packages/eslint-config-airbnb-base/rules/variables.js#L53-L54 https://github.com/airbnb/javascript/blob/c25bce83be4db06e6a...)