MCPcopy Index your code
hub / github.com/reactive-python/reactpy / lint_js

Function lint_js

tasks.py:125–131  ·  view source on GitHub ↗

Run linters and type checkers

(context: Context, fix: bool = False)

Source from the content-addressed store, hash-verified

123
124@task(pre=[env_js])
125def lint_js(context: Context, fix: bool = False):
126 """Run linters and type checkers"""
127 if fix:
128 in_js(context, "npm run fix:format")
129 else:
130 in_js(context, "npm run check:format")
131 in_js(context, "npm run check:types")
132
133
134@task

Callers

nothing calls this directly

Calls 1

in_jsFunction · 0.85

Tested by

no test coverage detected