File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ You can add rules:
4242 "cypress/no-force" : " warn" ,
4343 "cypress/no-async-tests" : " error" ,
4444 "cypress/no-async-before" : " error" ,
45- "cypress/no-pause" : " error"
45+ "cypress/no-pause" : " error" ,
46+ "cypress/no-debug" : " error"
4647 }
4748}
4849```
@@ -131,6 +132,7 @@ These rules enforce some of the [best practices recommended for using Cypress](h
131132| [ no-async-tests] ( docs/rules/no-async-tests.md ) | disallow using ` async ` /` await ` in Cypress test cases | ✅ |
132133| [ no-force] ( docs/rules/no-force.md ) | disallow using ` force: true ` with action commands | |
133134| [ no-pause] ( docs/rules/no-pause.md ) | disallow using ` cy.pause() ` calls | |
135+ | [ no-debug] ( docs/rules/no-debug.md ) | disallow using ` cy.debug() ` calls | |
134136| [ no-unnecessary-waiting] ( docs/rules/no-unnecessary-waiting.md ) | disallow waiting for arbitrary time periods | ✅ |
135137| [ require-data-selectors] ( docs/rules/require-data-selectors.md ) | require ` data-* ` attribute selectors | |
136138| [ unsafe-to-chain-command] ( docs/rules/unsafe-to-chain-command.md ) | disallow actions within chains | ✅ |
You can’t perform that action at this time.
0 commit comments