@dointhai/owlwarden-config
v1.1.0
Published
Config schema and resolver for owlwarden. Install `owlwarden` to run the scanner.
Maintainers
Readme
@dointhai/owlwarden-config
Config schema and resolver for owlwarden. The CLI depends on this; you normally do not need to install it yourself.
Install it directly only if you want type-checked config:
npm i -D @dointhai/owlwarden-config// owlwarden.config.ts
import { defineConfig } from "@dointhai/owlwarden-config";
export default defineConfig({
preset: "owasp-top10",
failOn: "medium",
});Resolution order
owlwarden.config.ts, then .mts, .mjs, .js, .json, then an owlwarden
key in package.json, then built-in defaults. Command-line flags override the
file.
The search does not walk up the directory tree. In a monorepo that would mean picking up a sibling's configuration and scanning with rules the project never chose, silently — so the working directory is where the config has to be.
Licence
MIT OR Apache-2.0.
