ESLint
Cypress configurations. Use this package in Cypress projects.
Add the dependency.
yarn add -D @straw-hat/eslint-config-cypress
Make sure to install the peer dependencies.
npx install-peerdeps --dev @straw-hat/eslint-config-cypress
In your cypress project Extend your ESLint
configuration.
{
"extends": ["@straw-hat/eslint-config-cypress"]
}