Skip to content

Commit

Permalink
Lint rule to prevent it.only Cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leSamo committed Mar 1, 2024
1 parent 05198ed commit 0b8ee4e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ globals:
rules:
react/no-unknown-property: ['error', { ignore: ['ouiaId'] }]
rulesdir/forbid-pf-relative-imports: off
no-only-tests/no-only-tests: 'error'
plugins:
- "no-only-tests"
16 changes: 16 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"cypress": "^13.6.6",
"eslint": "^8.57.0",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-no-only-tests": "^3.1.0",
"identity-obj-proxy": "3.0.0",
"npm-run-all": "4.1.5",
"prop-types": "15.8.1",
Expand Down

0 comments on commit 0b8ee4e

Please sign in to comment.