@@ -8,7 +8,7 @@ Use these patterns when reviewing code changes to safe-formdata.
88
99## Detection Strategy
1010
11- When reviewing code, search for these anti-patterns .
11+ When reviewing code, search for these antipatterns .
1212
13131 . ** Keyword search** : Look for suspicious method calls and operators
14142 . ** Control flow analysis** : Examine conditional logic related to keys
@@ -18,7 +18,7 @@ When reviewing code, search for these anti-patterns.
1818
1919## Rule 1: Keys are Opaque Strings
2020
21- ### Anti-Patterns to Detect
21+ ### Antipatterns to Detect
2222
2323#### Pattern: Bracket Notation Parsing
2424
@@ -82,7 +82,7 @@ if (key === "exact_key_name") {
8282
8383## Rule 2: No Silent Behavior
8484
85- ### Anti-Patterns to Detect
85+ ### Antipatterns to Detect
8686
8787#### Pattern: Merge/Overwrite
8888
@@ -151,7 +151,7 @@ for (const [key, value] of formData.entries()) {
151151
152152## Rule 3: No Inference, No Convenience
153153
154- ### Anti-Patterns to Detect
154+ ### Antipatterns to Detect
155155
156156#### Pattern: Structural Inference
157157
@@ -248,7 +248,7 @@ export function parse(formData: FormData): ParseResult {
248248
249249## Rule 4: Explicit Issue Reporting
250250
251- ### Anti-Patterns to Detect
251+ ### Antipatterns to Detect
252252
253253#### Pattern: Throwing Exceptions
254254
@@ -321,7 +321,7 @@ return { data, issues: [] };
321321
322322## Security-Specific Patterns
323323
324- ### Anti-Patterns to Detect
324+ ### Antipatterns to Detect
325325
326326#### Pattern: Unsafe Object Creation
327327
@@ -376,7 +376,7 @@ for (const [key, value] of formData.entries()) {
376376
377377## API Contract Patterns
378378
379- ### Anti-Patterns to Detect
379+ ### Antipatterns to Detect
380380
381381#### Pattern: Function Overloads
382382
0 commit comments