forked from webschik/tslint-config-security
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
21 lines (21 loc) · 893 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module.exports = {
rulesDirectory: ['./dist/rules'],
rules: {
'tsr-detect-buffer-noassert': [true],
'tsr-detect-child-process': [true],
'tsr-detect-eval-with-expression': [true],
'tsr-detect-no-csrf-before-method-override': [true],
'tsr-detect-non-literal-buffer': [true],
'tsr-detect-non-literal-fs-filename': [true],
'tsr-detect-non-literal-regexp': [true],
'tsr-detect-non-literal-require': [true],
'tsr-detect-possible-timing-attacks': [true],
'tsr-detect-pseudo-random-bytes': [true],
'tsr-detect-unsafe-regexp': [true],
'tsr-disable-mustache-escape': [true],
'tsr-detect-html-injection': [true],
'tsr-detect-sql-literal-injection': [true],
'tsr-detect-unsafe-cross-origin-communication': [true],
'tsr-detect-unsafe-properties-access': [true]
}
};