Skip to content

Commit 5aaa080

Browse files
author
Adam Baldwin
authored
Merge pull request #7 from HamletDRC/patch-1
README.md - documentation detect-new-buffer rule
2 parents 8df4435 + ff2aa33 commit 5aaa080

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Add the following to your `.eslintrc` file:
2424
- `detect-child-process` - Detects instances of child_process & non-literal cp.exec()
2525
- `detect-disable-mustache-escape` - Detects instances of setting the escapeMarkup property to false
2626
- `detect-eval-with-expression` - Detects eval(var)
27+
- `detect-new-buffer` - Detects instances of new Buffer(argument) where argument is any non literal value
2728
- `detect-no-csrf-before-method-override` - Detects Express.csrf before method-override
2829
- `detect-non-literal-fs-filename` - Detects var in filename argument of fs calls
2930
- `detect-non-literal-regexp` - Detects RegExp(var)

0 commit comments

Comments
 (0)