Skip to content
New issue

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

Adds ESLint to Cypress #293

Closed
wants to merge 127 commits into from
Closed

Adds ESLint to Cypress #293

wants to merge 127 commits into from

Conversation

tdstein
Copy link
Collaborator

@tdstein tdstein commented Oct 17, 2023

Intent

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change

Approach

Automated Tests

Directions for Reviewers

Checklist

@tdstein tdstein changed the base branch from main to tdstein/release October 17, 2023 14:51
Copy link
Collaborator

@dotNomad dotNomad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This gives us linting Cypress which is great, and uses the Cypress ESLint Plugin 🎉
Left a note about missing the same ESLint config from web if that matters for us.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great because it extends the Cypress ESLint plugin and enables the Cypress globals for linting, however if we care about linting all of our JS / TS files the same we are missing all of the rules and plugins from publishing-client/web/.eslintrc.cjs. Granted not all of those rules are applicable since this doesn't use Vue and are no longer using TypeScript here.

Base automatically changed from tdstein/release to main October 18, 2023 15:01
@tdstein tdstein closed this Oct 18, 2023
@tdstein tdstein deleted the tdstein/eslint-cypress branch October 18, 2023 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants