@[email protected] to Programmer [email protected] • 1 year ago===programming.devimagemessage-square76fedilinkarrow-up1694arrow-down117
arrow-up1677arrow-down1image===programming.dev@[email protected] to Programmer [email protected] • 1 year agomessage-square76fedilink
minus-square@[email protected]linkfedilink7•1 year 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
minus-square@[email protected]linkfedilinkEnglish4•1 year agoAnd typescript is basically just a linter on steroids
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