I'm trying to run eslint on my cypress project but it keeps failing with
2:19 error Parsing error: Unexpected token =
Is there a way to ignore the error globally? If I don't run linting my code works fine:
class CardPage {
cardPageURL = "I've removed the url";
visit() {
cy.visit(this.cardPageURL);
}
}
export const cardPage = new CardPage();
This is my .eslintrc.js file
module.exports = { extends: ["plugin:cypress/recommended", "prettier"], };