-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore!: Add options validation for all rules #1785
Merged
Merged
Conversation
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
😎 Merged successfully - details. |
blaine-arcjet
force-pushed
the
phated/option-validation
branch
from
September 30, 2024 00:39
cea0f1f
to
b95138d
Compare
I want to add tests for validation on all options to each rule. |
blaine-arcjet
force-pushed
the
phated/option-validation
branch
from
September 30, 2024 15:46
b95138d
to
0307021
Compare
davidmytton
approved these changes
Oct 1, 2024
e-moran
approved these changes
Oct 1, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice!
trunk-io bot
pushed a commit
that referenced
this pull request
Oct 1, 2024
Automatically generated with [Release Please](https://github.com/googleapis/release-please). --- <details><summary>@arcjet/analyze: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/analyze-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **analyze:** Update well known bots ([#1784](#1784)) ([52f1ee3](52f1ee3)) * Update WebAssembly modules ([#1721](#1721)) ([2dbb9eb](2dbb9eb)) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/body: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/body-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/body:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/bun: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/bun-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/bun:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/headers bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/ip bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/logger bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/transport bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * arcjet bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/decorate: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/decorate-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/decorate:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/sprintf bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/deno: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/deno-v1.0.0-alpha.27) (2024-10-01) ### 🚀 New Features * Add Deno adapter ([#1782](#1782)) ([fdfcaf3](fdfcaf3)), closes [#758](#758) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/headers bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/ip bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/logger bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/transport bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * arcjet bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/duration: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/duration-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/duration:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/env: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/env-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/env:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/eslint-config: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/eslint-config-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/eslint-config:** Synchronize arcjet-js versions </details> <details><summary>@arcjet/headers: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/headers-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/headers:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/ip: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/ip-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/ip:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/logger: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/logger-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/logger:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/sprintf bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/nest: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/nest-v1.0.0-alpha.27) (2024-10-01) ### 🚀 New Features * Add NestJS adapter ([#1776](#1776)) ([4e52453](4e52453)), closes [#781](#781) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/headers bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/ip bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/logger bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/transport bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/body bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * arcjet bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/next: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/next-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/next:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/headers bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/ip bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/logger bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/transport bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * arcjet bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/node: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/node-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/node:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/headers bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/ip bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/logger bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/transport bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/body bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * arcjet bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/protocol: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/protocol-v1.0.0-alpha.27) (2024-10-01) ### 🚀 New Features * Add Deno adapter ([#1782](#1782)) ([fdfcaf3](fdfcaf3)), closes [#758](#758) * Add NestJS adapter ([#1776](#1776)) ([4e52453](4e52453)), closes [#781](#781) ### 🪲 Bug Fixes * **protocol:** Ensure relative imports have extensions ([#1722](#1722)) ([73928c8](73928c8)), closes [#1720](#1720) ### 🧹 Miscellaneous Chores * **analyze:** Update well known bots ([#1784](#1784)) ([52f1ee3](52f1ee3)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/redact: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/redact-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/redact:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/redact-wasm bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/redact-wasm: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/redact-wasm-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * Update WebAssembly modules ([#1721](#1721)) ([2dbb9eb](2dbb9eb)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/rollup-config: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/rollup-config-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/rollup-config:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/runtime: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/runtime-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/runtime:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/sprintf: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/sprintf-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/sprintf:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/sveltekit: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/sveltekit-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/sveltekit:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/env bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/headers bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/ip bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/logger bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/transport bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * arcjet bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/transport: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/transport-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/transport:** Synchronize arcjet-js versions ### Dependencies * The following workspace dependencies were updated * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>@arcjet/tsconfig: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.26...@arcjet/tsconfig-v1.0.0-alpha.27) (2024-10-01) ### 🧹 Miscellaneous Chores * **@arcjet/tsconfig:** Synchronize arcjet-js versions </details> <details><summary>arcjet: 1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](v1.0.0-alpha.26...arcjet-v1.0.0-alpha.27) (2024-10-01) ### ⚠ BREAKING CHANGES * Add options validation for all rules ([#1785](#1785)) * Only produce 1 rule per constructor ([#1783](#1783)) ### 🧹 Miscellaneous Chores * Add options validation for all rules ([#1785](#1785)) ([c3a248e](c3a248e)), closes [#992](#992) * Only produce 1 rule per constructor ([#1783](#1783)) ([8d79e63](8d79e63)), closes [#1397](#1397) ### Dependencies * The following workspace dependencies were updated * dependencies * @arcjet/analyze bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/duration bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/headers bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/protocol bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/runtime bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * devDependencies * @arcjet/eslint-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/rollup-config bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 * @arcjet/tsconfig bumped from 1.0.0-alpha.26 to 1.0.0-alpha.27 </details> <details><summary>1.0.0-alpha.27</summary> ## [1.0.0-alpha.27](v1.0.0-alpha.26...v1.0.0-alpha.27) (2024-10-01) ### ⚠ BREAKING CHANGES * Add options validation for all rules ([#1785](#1785)) * Only produce 1 rule per constructor ([#1783](#1783)) ### 🚀 New Features * Add Deno adapter ([#1782](#1782)) ([fdfcaf3](fdfcaf3)), closes [#758](#758) * Add NestJS adapter ([#1776](#1776)) ([4e52453](4e52453)), closes [#781](#781) ### 🪲 Bug Fixes * **protocol:** Ensure relative imports have extensions ([#1722](#1722)) ([73928c8](73928c8)), closes [#1720](#1720) ### 🧹 Miscellaneous Chores * Add options validation for all rules ([#1785](#1785)) ([c3a248e](c3a248e)), closes [#992](#992) * **analyze:** Update well known bots ([#1784](#1784)) ([52f1ee3](52f1ee3)) * Only produce 1 rule per constructor ([#1783](#1783)) ([8d79e63](8d79e63)), closes [#1397](#1397) * Update WebAssembly modules ([#1721](#1721)) ([2dbb9eb](2dbb9eb)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds option validation on all of our rules. We've relied too heavily on TypeScript types to ensure that all options are passed correctly, but that has lead to issues when TypeScript is configured less strictly or JavaScript is used.
I've written some very simple validation machinery in our core package and implemented for all our rules.
Closes #992