opencode-commit-guard 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +3 -0
  2. package/dist/index.js +1337 -1668
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -110,6 +110,9 @@ The plugin rejects subject lines that omit the colon, leave the scope empty, or
110
110
  ### 2. Allowed scopes (`allowedScopes`)
111
111
 
112
112
  When `allowedScopes` contains values, the extracted scope must match an entry in the list.
113
+ Set `allowedScopes: []` to disable the scope allowlist.
114
+ The plugin normalizes the empty array to `undefined`.
115
+ The plugin rejects unknown option keys and lists the valid options: `requireScope`, `allowedScopes`, and `maxLineLength`.
113
116
  For conventional commits such as `feat(parser): ...`, the plugin accepts either the inner scope (`parser`), the full scope token (`feat(parser)`), or the type prefix (`feat`).
114
117
  Each configured entry must match the scope syntax; spaces and characters such as `@` are invalid.
115
118