-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.doignore
More file actions
64 lines (64 loc) · 1.6 KB
/
.doignore
File metadata and controls
64 lines (64 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Build commands that take too long
# DoMD Ignore Patterns
# System-level commands that might require permissions
# Testing patterns
## Documentation Text
## File Paths and URLs
## Logs and Error Messages
## Markdown Elements
## System Specific
## Whitespace and Empty Lines
*build*production*
*build*release*
*test*e2e*
*test*integration*
*test*slow*
- [ ] Task item
--list # broken
/path/to/some/file.txt
2023-01-01 12:00:00 [INFO] Starting process
Some text with no command
This file contains patterns that will be ignored when detecting shell commands in markdown files. Each pattern is a regular expression that will be matched against potential command strings.
^#.*
^(Error|ERROR|error|Warning|WARNING|warning|Info|INFO|info|Debug|DEBUG|debug):?\s+.*
^(For|To|This|The|You|We|It|They|He|She|When|Where|Why|How)\s+[A-Za-z]
^/.*
^[./].*
^[A-Z][a-z]+(?:\s+[a-z]+)*[.!?]?$
^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$
^\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}\s+\[\w+\].*
^\s*$
^\s*- \[ \] .*
^\s*- \[x\] .*
^\s*[-*+] .*
^\s*\d+\. .*
^\s*\|.*\|\s*$
^\s*`{3,}.*`*\s*$
^\s+$
^ftp://.*
^https?://.*
^~?/.*
```
```text
ini # broken
plugin: # broken
service .*
sudo .*
systemctl .*
with # broken
- [ ] Task item
Some text with no command
/path/to/some/file.txt
2023-01-01 12:00:00 [INFO] Starting process
- [ ] Task item
Some text with no command
/path/to/some/file.txt
2023-01-01 12:00:00 [INFO] Starting process
- [ ] Task item
Some text with no command
/path/to/some/file.txt
2023-01-01 12:00:00 [INFO] Starting process
- [ ] Task item
Some text with no command
/path/to/some/file.txt
2023-01-01 12:00:00 [INFO] Starting process