Skip to content

Commit

Permalink
fix: fixed vale rule
Browse files Browse the repository at this point in the history
Signed-off-by: Tokesh <[email protected]>
  • Loading branch information
Tokesh committed Feb 9, 2025
1 parent 7c4e77c commit cb9672d
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/vale/styles/OpenSearch/NumericFormat.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
extends: existence
message: "Schema of type 'number' must specify a 'format'."
ignorecase: true
message: "Missing 'format' after 'type: number'."
level: warning
scope: paragraph
patterns:
- pattern: '^\s*-?\s*type:\s*number\s*(?:#.*)?$'
next_line:
- pattern: '^\s*format:'
negate: true
scope: raw
nonword: true
ignorecase: false
tokens:
- 'type:\s+number(?!\n\s+format:)'

0 comments on commit cb9672d

Please sign in to comment.