Skip to content

Commit

Permalink
Fix eslint config for jsx tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Jan 11, 2025
1 parent 2996b21 commit 87e99d7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions webapp/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ module.exports = {
"@vue/prettier",
"plugin:cypress/recommended",
],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
ecmaFeatures: {
jsx: true // This is all we need for parsing JSX
}
},
rules: {
//"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
Expand Down

0 comments on commit 87e99d7

Please sign in to comment.