Skip to content

Commit

Permalink
Update based on ec0cf57 ec0cf57
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 6, 2024
1 parent 0bcbdeb commit 637a230
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 22 deletions.
20 changes: 10 additions & 10 deletions index.js

Large diffs are not rendered by default.

33 changes: 22 additions & 11 deletions warning-info.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ This rule checks for Markdown syntax that's supposed to turn into a `<dl>` but i
To fix this, check the source code. For example:

```diff
- Item1
- : Description1
- Item2
+ - : Description2

- Item1
- : Description1
- Item2
- : Description2
- - : Description3
+ Description3
- Item1
- : Description1
- Item2
+ - : Description2

- Item1
- : Description1
- Item2
- : Description2
- - : Description3
+ Description3
```

## Bad href
Expand Down Expand Up @@ -145,3 +145,14 @@ This rule reports pages that are unreachable via any in-page links (starting fro
## Unshortened bug link

This rule reports bug links where a known shortened version exists. For more information, see the [BCD lint rule](https://github.com/mdn/browser-compat-data/blob/main/lint/linter/test-links.ts).

In an editor, you can do the following regex replacements:

| Find | Replace |
| ----------------------------------------------------------------------------------------------------- | ------------------------- |
| `https?:\/\/bugzilla\.mozilla\.org\/show_bug\.cgi\?id=(\d+)` | `https://bugzil.la/$1` |
| `https?:\/\/(issues\.chromium\.org)\/issues\/(\d+)` | `https://crbug.com/$2` |
| `https?:\/\/(bugs\.chromium\.org\|code\.google\.com)\/p\/chromium\/issues\/detail\?id=(\d+)` | `https://crbug.com/$2` |
| `https?:\/\/(bugs\.chromium\.org\|code\.google\.com)\/p\/((?!chromium)\w+)\/issues\/detail\?id=(\d+)` | `https://crbug.com/$2/$3` |
| `https?:\/\/chromium\.googlesource\.com\/chromium\/src\/\+\/([\w\d]+)` | `https://crrev.com/$1` |
| `https?:\/\/bugs\.webkit\.org\/show_bug\.cgi\?id=(\d+)` | `https://webkit.org/b/$1` |
2 changes: 1 addition & 1 deletion warnings.js

Large diffs are not rendered by default.

0 comments on commit 637a230

Please sign in to comment.