File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -34,5 +34,27 @@ module.exports = {
34
34
'detect-disable-mustache-escape' : 0 ,
35
35
'detect-object-injection' : 0 ,
36
36
'detect-new-buffer' : 0
37
+ } ,
38
+ configs : {
39
+ recommended : {
40
+ plugins : [
41
+ 'security'
42
+ ] ,
43
+ rules : {
44
+ 'security/detect-buffer-noassert' : 'warn' ,
45
+ 'security/detect-child-process' : 'warn' ,
46
+ 'security/detect-disable-mustache-escape' : 'warn' ,
47
+ 'security/detect-eval-with-expression' : 'warn' ,
48
+ 'security/detect-new-buffer' : 'warn' ,
49
+ 'security/detect-no-csrf-before-method-override' : 'warn' ,
50
+ 'security/detect-non-literal-fs-filename' : 'warn' ,
51
+ 'security/detect-non-literal-regexp' : 'warn' ,
52
+ 'security/detect-non-literal-require' : 'warn' ,
53
+ 'security/detect-object-injection' : 'warn' ,
54
+ 'security/detect-possible-timing-attacks' : 'warn' ,
55
+ 'security/detect-pseudoRandomBytes' : 'warn' ,
56
+ 'security/detect-unsafe-regex' : 'warn'
57
+ }
58
+ }
37
59
}
38
60
} ;
You can’t perform that action at this time.
0 commit comments