We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
README says to do:
import playwright from 'eslint-plugin-playwright'; export default [ { ...playwright.configs['flat/recommended'],
However I'm getting:
Property 'configs' does not exist on type 'typeof import("/Users/edward/Projects/frontend/node_modules/eslint-plugin-playwright/dist/index")'.
Maybe because I used require since I'm using CJS still? 🤷
require
const playwright = require('eslint-plugin-playwright'); module.exports = [ { ...playwright.configs['flat/recommended'], // error
Are the docs wrong or the types wrong? Should I be doing playwright.default.configs['flat/recommended']? As the dist/index.d.ts has:
playwright.default.configs['flat/recommended']
dist/index.d.ts
import * as eslint from 'eslint'; declare const _default: { /*stuff*/ }; export { _default as default };
The text was updated successfully, but these errors were encountered:
1b5aadb
🎉 This issue has been resolved in version 1.7.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
No branches or pull requests
README says to do:
However I'm getting:
Maybe because I used
require
since I'm using CJS still? 🤷Are the docs wrong or the types wrong? Should I be doing
playwright.default.configs['flat/recommended']
? As thedist/index.d.ts
has:The text was updated successfully, but these errors were encountered: