generated from boneskull/boneskull-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: The `Smoker` class can no longer be instantiated directly; use `Smoker.init()`. The `verbose` option will now cause a fatal error to throw its exception to the terminal. Rule configuration is now `severity string`, `rule-specific options`, or a tuple of `[rule-specifc options, severity string]`. It can no longer be `[rule-specific options` nor `[severity string]`. The config file schema has changed to reflect this. Type `SmokeOptions` removed and is now the same type as `SmokerOptions`. All options--wherever they come from--now go thru a single object schema. This allows elimination some custom logic and duplicate types and provides better normalization. Rules _must_ provide an options schema, even if that is just `ZodTypeObject`. Rules may now provide default values for options; the `opts` parameter to a `RuleCheckFn` is now always defined and at minimum an empty object. fix(checks): the "warn" severity is respected; closes #333
- Loading branch information
Showing
50 changed files
with
1,496 additions
and
1,152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.