Skip to content

Commit

Permalink
Add Nx lint to e2e-environment
Browse files Browse the repository at this point in the history
  • Loading branch information
roykho committed Nov 5, 2021
1 parent 608d427 commit b5715bf
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 52 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Thumbs.db
.idea
.vscode/

# Eslint Cache
.eslintcache

# Environment files
wp-cli.local.yml
.wp-env.override.json
Expand Down
4 changes: 3 additions & 1 deletion packages/js/e2e-environment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.12.7",
"@wordpress/eslint-plugin": "7.3.0",
"eslint": "^8.1.0",
"ndb": "^1.1.5",
"semver": "^7.3.2"
},
Expand All @@ -58,7 +59,8 @@
"docker:ssh": "docker exec -it $(node utils/get-app-name.js)_wordpress-www /bin/bash",
"test:e2e": "bash ./bin/wait-for-build.sh && ./bin/e2e-test-integration.js",
"test:e2e-debug": "bash ./bin/wait-for-build.sh && ./bin/e2e-test-integration.js --dev --debug",
"test:e2e-dev": "bash ./bin/wait-for-build.sh && ./bin/e2e-test-integration.js --dev"
"test:e2e-dev": "bash ./bin/wait-for-build.sh && ./bin/e2e-test-integration.js --dev",
"lint": "eslint src"
},
"bin": {
"wc-e2e": "bin/wc-e2e.sh"
Expand Down
Loading

0 comments on commit b5715bf

Please sign in to comment.