Skip to content

Commit dd3cd09

Browse files
committed
Post about wildcards
1 parent 05ae368 commit dd3cd09

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Wildcards are dangerous
3+
---
4+
5+
We consider wildcards to be very dangerous from a security standpoint. It is too easy to have something strange in a filename that causes a wildcard to not match. This made worse if there are multiple programs that evaluate wildcards: something could match in one and not in the other.
6+
7+
We are explicitly choosing not to support wildcards when specifying top-level paths. Ideally, you should specify the current directory (with `.`) and every file and directry should be included.
8+
9+
Additionally, we want to check *every* file. Even hidden and ignored files should obey basic sanity rules. Thus, we have an `not-linted` rule that will flag every file that doesn't get linted.
10+

0 commit comments

Comments
 (0)