Show HN: Find numbers that should be extracted as constants in your JS (github.com) 7 points by pgilad 11y ago ↗ HN
[–] stax012 11y ago ↗ Looks useful. Is this better implemented as an option of a linter? [–] pgilad 11y ago ↗ I'm not aware of any linters applying this sort of logic in suggesting to extract numbers to their own declarations. One could also go as far as declaring strings and whatnot...
[–] pgilad 11y ago ↗ I'm not aware of any linters applying this sort of logic in suggesting to extract numbers to their own declarations. One could also go as far as declaring strings and whatnot...
2 comments
[ 3.4 ms ] story [ 14.9 ms ] thread