Skip to content

Commit

Permalink
chore: improve lint config for cypress tests (#10723)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladitasev authored Jan 30, 2025
1 parent c1206ae commit e2193e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/tools/components-package/eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const getTsModeOverrides = () => {
};

const cypressConfiguration = {
"files": ["**/cypress/**/*.ts"],
"files": ["**/cypress/**/*.ts", "**/cypress/**/*.tsx"],

"plugins": [
"cypress"
Expand All @@ -69,6 +69,7 @@ const getTsModeOverrides = () => {
},
"rules": {
"max-nested-callbacks": 0,
"no-unused-expressions": 0,
"@typescript-eslint/no-namespace": "off",
"cypress/no-assigning-return-values": "error",
"cypress/no-unnecessary-waiting": "error",
Expand Down

0 comments on commit e2193e1

Please sign in to comment.