Commit 9861ad28 authored by Amy Qualls's avatar Amy Qualls

Merge branch 'docs-update-alert-box-vale-rule' into 'master'

Update regex for alert box vale rule

See merge request gitlab-org/gitlab!50414
parents 20490e9b d282483a
...@@ -17,5 +17,5 @@ nonword: true ...@@ -17,5 +17,5 @@ nonword: true
scope: raw scope: raw
raw: raw:
- '(\n *\> *(?:NOTE|WARNING)|' - '(\n *\> *(?:NOTE|WARNING)|'
- '\n(NOTE):[^\n]|' # Adding "WARNING" here causes a false positive - '\n\n(NOTE|WARNING):[^\n]|'
- '\n *(?:> )?\**(Note|note|TIP|Tip|tip|CAUTION|Caution|caution|DANGER|Danger|danger|warning):.*)' ## Adding "Warning" here causes a false positive - '\n\n *(?:> )?\**(Note|note|TIP|Tip|tip|CAUTION|Caution|caution|DANGER|Danger|danger|Warning|warning):.*)'
...@@ -1031,7 +1031,6 @@ the following Apollo Client warning when passing only handlers: ...@@ -1031,7 +1031,6 @@ the following Apollo Client warning when passing only handlers:
```shell ```shell
Unexpected call of console.warn() with: Unexpected call of console.warn() with:
Warning: mock-apollo-client - The query is entirely client-side (using @client directives) and resolvers have been configured. The request handler will not be called. Warning: mock-apollo-client - The query is entirely client-side (using @client directives) and resolvers have been configured. The request handler will not be called.
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment