Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add lint hook #5513

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ cypress/videos
.docusaurus
.cache-loader

.nuxt
.husky
themes
.eslintcache
db.json
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

# --allow-empty flag will consider prettier fixing white space a valid commit
npx lint-staged --allow-empty
8 changes: 2 additions & 6 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
dist
node_modules

.husky
.vscode
.circleci
.github
assets
node_modules
.eslintignore
.eslintcache
.eslintrc-textlint
.gitignore
.mergify.yml
.node-version
.textlintrc
3 changes: 1 addition & 2 deletions docs/guides/cloud/analytics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ time, run duration and visibility into tests suite size over time.

This report shows the number of runs your organization has recorded to Cypress
Cloud, broken down by the final status of the run. Each run represents a single
invocation of `cypress run --record` for this project, whether in CI or on a
local machine.
invocation of `cypress run --record` for this project, whether in CI or on a local machine.

### Filters

Expand Down
Loading