Skip to content

Commit

Permalink
Merge pull request #337 from DFE-Digital/add-cypress-linting
Browse files Browse the repository at this point in the history
Add Cypress linting script
  • Loading branch information
cshnimble authored Jun 22, 2023
2 parents 533ee68 + 28a73b2 commit 4868f04
Show file tree
Hide file tree
Showing 3 changed files with 1,642 additions and 310 deletions.
19 changes: 19 additions & 0 deletions CypressTests/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"plugins": [
"cypress"
],
"rules": {
"cypress/no-assigning-return-values": "error",
"cypress/no-unnecessary-waiting": "error",
"cypress/assertion-before-screenshot": "error",
"cypress/no-force": "error",
"cypress/no-async-tests": "error",
"cypress/no-pause": "error"
},
"env": {
"cypress/globals": true
},
"extends": [
"plugin:cypress/recommended"
]
}
Loading

0 comments on commit 4868f04

Please sign in to comment.