DEV Community


Discussion on: What are you doing now that your future self will thank you for?

matthewbdaly profile image
Matthew Daly

Using Psalm and CodeSniffer on my PHP code, and ESLint and Flow on my Javascript.

Linters like CodeSniffer and ESLint make a massive difference in terms of the readability of a code base, and actively looking to find and add new linter rules is never a bad idea - using jsx-a11y has been particularly illuminating in my React components. And static analysis tools like Flow and Psalm make possibly even more difference - I maintain a large and messy Zend 1 legacy code base which I'm slowly tidying up and modernizing, and they've highlighted multiple issues for me that I wouldn't have caught otherwise.