Skip to content

Commit b153430

Browse files
committed
misc fixes
1 parent dc1b92d commit b153430

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

Diff for: src/js/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
tsconfig.tsbuildinfo
22
packages/**/package-lock.json
3+
dist

Diff for: src/js/app/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"build": "vite build",
2323
"format": "prettier --write . && eslint --fix .",
2424
"test": "npm run check:tests",
25-
"check:format": "prettier --check .",
2625
"check:tests": "echo 'no tests'",
2726
"check:types": "tsc --noEmit"
2827
}

Diff for: src/js/package.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
"publish": "npm --workspaces publish",
55
"test": "npm --workspaces test",
66
"build": "npm --workspaces run build",
7-
"format": "prettier --write . && eslint --fix .",
8-
"check:format": "prettier --check . && eslint .",
7+
"format": "npm run prettier -- --write && npm run eslint -- --fix",
8+
"check:format": "npm run prettier -- --check && npm run eslint",
99
"check:tests": "npm --workspaces run check:tests",
10-
"check:types": "npm --workspaces run check:types"
10+
"check:types": "npm --workspaces run check:types",
11+
"prettier": "prettier --ignore-path .gitignore .",
12+
"eslint": "eslint --ignore-path .gitignore ."
1113
},
1214
"workspaces": [
1315
"packages/event-to-object",

Diff for: tasks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def lint_js(context: Context, fix: bool = False):
125125
@task
126126
def test_py(context: Context, no_cov: bool = False):
127127
"""Run test suites"""
128-
in_py(context, f"hatch run {'test' if no_cov else 'cov'}")
128+
in_py(context, f"hatch run {'test' if no_cov else 'cov'} --maxfail=3")
129129

130130

131131
@task(pre=[env_js])

0 commit comments

Comments
 (0)