@nx/angular:cypress-component-configuration does not add cypress/recommended eslint configuration #23241
amayer42
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current Behavior
Running the
@nx/angular:cypress-component-configuration
generator on a project does not configure the project's eslint settings to use thecypress/recommended
ruleset for cypress related files.Expected Behavior
I expect that if I add a
cy.wait
to one of the component tests of my project, that it will be properly flagged as an error by eslint, according to thecypress/recommended
ruleset. This would follow the same behavior as projects that use cypress as the e2e test runner.GitHub Repo
https://github.com/amayer42/bug-repro-no-cypress-eslint
Steps to Reproduce
apps/app/src/app/app.component.cy.ts
.it('renders')
.cy.wait
is not flagged as an error by eslint.I've updated my
README.md
with in the repo with some additional information on what I think a (at least partial) remedy would be.Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions