generated from boneskull/boneskull-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
severities not respected #333
Comments
boneskull
added a commit
that referenced
this issue
Aug 27, 2023
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
boneskull
added a commit
that referenced
this issue
Aug 27, 2023
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
boneskull
added a commit
that referenced
this issue
Aug 27, 2023
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
boneskull
added a commit
that referenced
this issue
Aug 27, 2023
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
boneskull
added a commit
that referenced
this issue
Aug 27, 2023
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
boneskull
added a commit
that referenced
this issue
Aug 29, 2023
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
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Well,
off
is, but notwarn
. If aRuleFailure
hasseverity: 'warn'
, then do notprocess.exitCode = 1
.The text was updated successfully, but these errors were encountered: