zuke.tools.oxlint
@zuke/oxlint 1.1.0: @zuke/oxlint — typed oxlint task wrappers for Zuke builds.
zuke on PyPI ↗ 2 symbols
Symbols
class OxlintSettings(ToolSettings) Settings for an oxlint run.
-
paths(*values: str) -> SelfFiles or directories to lint (positional); repeatable.
-
config(path: str) -> SelfUse an explicit config file (
-c/--config). -
tsconfig(path: str) -> SelfPoint at a
tsconfig.jsonfor type-aware rules (--tsconfig). -
fix() -> SelfApply automatic fixes (
--fix). -
fix_suggestions() -> SelfApply suggestion fixes too (
--fix-suggestions). -
deny(rule: str) -> SelfRaise a rule or category to error (
-D/--deny); repeatable. -
warn(rule: str) -> SelfSet a rule or category to warning (
-W/--warn); repeatable. -
allow(rule: str) -> SelfTurn a rule or category off (
-A/--allow); repeatable. -
ignore_path(path: str) -> SelfRead ignore globs from a file (
--ignore-path). -
ignore_pattern(glob: str) -> SelfIgnore files matching a glob (
--ignore-pattern); repeatable. -
max_warnings(count: float) -> SelfFail once this many warnings are reached (
--max-warnings). -
quiet_warnings() -> SelfReport errors only, suppressing warnings (
--quiet). -
deny_warnings() -> SelfExit non-zero if any warnings are found (
--deny-warnings). -
format(value: str) -> SelfOutput format, e.g.
default,json,github(-f/--format). -
threads(count: float) -> SelfNumber of threads to use (
--threads).
class OxlintTasks Typed task functions for the oxlint linter.
-
static async lint(ctx: ServiceContext, configure: Callable[[OxlintSettings], OxlintSettings] | None=None) -> ExecResultLint with
oxlint.