Skip to content

Commit ff2aa33

Browse files
authored
README.md - documentation detect-new-buffer rule
1 parent c681aa7 commit ff2aa33

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
@@ -23,6 +23,7 @@ Add the following to your `.eslintrc` file:
2323
- `detect-child-process` - Detects instances of child_process & non-literal cp.exec()
2424
- `detect-disable-mustache-escape` -
2525
- `detect-eval-with-expression` - Detects eval(var)
26+
- `detect-new-buffer` - Detects instances of new Buffer(argument) where argument is any non literal value
2627
- `detect-no-csrf-before-method-override` - Detects Express.csrf before method-override
2728
- `detect-non-literal-fs-filename` - Detects var in filename argument of fs calls
2829
- `detect-non-literal-regexp` - Detects RegExp(var)

0 commit comments

Comments
 (0)