Skip to content

Commit

Permalink
Adds ESLint configuration for Cypress (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdstein authored Oct 20, 2023
1 parent 2680829 commit 5ff5ba2
Show file tree
Hide file tree
Showing 5 changed files with 841 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/cy/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
extends: ['plugin:cypress/recommended'],
plugins: ['cypress'],
env: {
'cypress/globals': true,
}
};
3 changes: 3 additions & 0 deletions test/cy/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
node_modules

**/screenshots/*
**/videos/*
13 changes: 13 additions & 0 deletions test/cy/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,19 @@ clean:
rm -rf node_modules

fix:
#!/usr/bin/env bash
set -eou pipefail
{{ _with_debug }}
npm run fix

lint:
#!/usr/bin/env bash
set -eou pipefail
{{ _with_debug }}
npm run lint

# Install dependencies
install:
Expand Down
Loading

0 comments on commit 5ff5ba2

Please sign in to comment.