By applying linting (static code analysis) tools to test code, preferably the same tools as for application code, tests can be improved which can eventually lead to better maintainability, readability and more robust tests, without even running them!
In my experience, test code does not get treated with high coding standards as application code does, because as many people tend to say: "it's just for testing". As testing is a critical part of the SDLC, why not?
In this talk I will demo my new ESLint UI testing plugin https://www.npmjs.com/package/eslint-plugin-ui-testing going through the linting rules with hands-on examples. This plugin supports popular automation tools: WebdriverIO, Cypress, TestCafe, Puppeteer and Playwright. Also, I will deep dive into how to create your own custom linting rule.