@[email protected] to Programmer [email protected] • 10 months ago===programming.devimagemessage-square60fedilinkarrow-up1662arrow-down115
arrow-up1647arrow-down1image===programming.dev@[email protected] to Programmer [email protected] • 10 months agomessage-square60fedilink
minus-square@JaddedFauceetlink7•10 months agoBy banishing the bad part of the language with linter. For instance, standard eslint preset has rules that enforce usage of ===, https://eslint.org/docs/latest/rules/eqeqeq These rules often come with project starter template
By banishing the bad part of the language with linter.
For instance, standard eslint preset has rules that enforce usage of
===
, https://eslint.org/docs/latest/rules/eqeqeqThese rules often come with project starter template
And typescript is basically just a linter on steroids