This thread is trying to answer question "How can I install the necessary package and configure linter settings for typescript-eslint.io in Playwright 1.40?"
See also here: https://typescript-eslint.io/rules/no-floating-promises/
Thank you, this is what I have now: /* eslint-env node */ module.exports = { extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'], parser: '@typescript-eslint/parser', plugins: ['@typescript-eslint'], root: true, rules: { "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/no-misused-promises": "error" } };
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].