neuroanatomy / eslint-config-naat

Style rules for js code at NAAT
0 stars 2 forks source link

should radix rule really be set to error? #18

Open ntraut opened 5 months ago

ntraut commented 5 months ago

the current config set radix to error but in many examples of our code we are disabling the rule in order to avoid having to specify the radix of 10 each time. according to eslint documentation this rule is to avoid misinterpretation when the number starts by 0 in javascript versions prior to es5, but we are targeting es2017, so maybe this rule is not useful for us and we can disable it.

r03ert0 commented 5 months ago

agree!