@@ -3,54 +3,54 @@ module.exports = {
33
44 env : {
55 node : true ,
6- jest : true ,
6+ jest : true
77 } ,
88
9- parser : " @typescript-eslint/parser" ,
9+ parser : ' @typescript-eslint/parser' ,
1010
1111 extends : [
12- " standard-with-typescript" ,
13- " plugin:@typescript-eslint/recommended-requiring-type-checking" ,
14- " plugin:lodash-template/recommended" ,
12+ ' standard-with-typescript' ,
13+ ' plugin:@typescript-eslint/recommended-requiring-type-checking' ,
14+ ' plugin:lodash-template/recommended' ,
1515 // TODO: make this work with typescript
1616 // 'plugin:node/recommended'
17- " prettier" ,
18- " prettier/@typescript-eslint" ,
17+ ' prettier' ,
18+ ' prettier/@typescript-eslint'
1919 ] ,
2020
21- plugins : [ " @typescript-eslint" , " node" , " security" ] ,
21+ plugins : [ ' @typescript-eslint' , ' node' , ' security' ] ,
2222
2323 parserOptions : {
2424 tsconfigRootDir : __dirname ,
25- project : " ./tsconfig.json" ,
25+ project : ' ./tsconfig.json'
2626 } ,
2727
2828 globals : {
2929 __statics : true ,
30- process : true ,
30+ process : true
3131 } ,
3232
3333 // add your custom rules here
3434 rules : {
3535 // allow console.log during development only
36- " no-console" : process . env . NODE_ENV === " production" ? " error" : " off" ,
36+ ' no-console' : process . env . NODE_ENV === ' production' ? ' error' : ' off' ,
3737 // allow debugger during development only
38- " no-debugger" : process . env . NODE_ENV === " production" ? " error" : " off" ,
39- " no-process-exit" : " off" ,
40- " security/detect-non-literal-fs-filename" : " warn" ,
41- " security/detect-unsafe-regex" : " error" ,
42- " security/detect-buffer-noassert" : " error" ,
43- " security/detect-child-process" : " warn" ,
44- " security/detect-disable-mustache-escape" : " error" ,
45- " security/detect-eval-with-expression" : " error" ,
46- " security/detect-no-csrf-before-method-override" : " error" ,
47- " security/detect-non-literal-regexp" : " error" ,
48- " security/detect-non-literal-require" : " warn" ,
49- " security/detect-object-injection" : " warn" ,
50- " security/detect-possible-timing-attacks" : " error" ,
51- " security/detect-pseudoRandomBytes" : " error" ,
52- " space-before-function-paren" : " off" ,
53- " @typescript-eslint/default-param-last" : " off" ,
54- " @typescript-eslint/strict-boolean-expressions" : 0 ,
55- } ,
56- } ;
38+ ' no-debugger' : process . env . NODE_ENV === ' production' ? ' error' : ' off' ,
39+ ' no-process-exit' : ' off' ,
40+ ' security/detect-non-literal-fs-filename' : ' warn' ,
41+ ' security/detect-unsafe-regex' : ' error' ,
42+ ' security/detect-buffer-noassert' : ' error' ,
43+ ' security/detect-child-process' : ' warn' ,
44+ ' security/detect-disable-mustache-escape' : ' error' ,
45+ ' security/detect-eval-with-expression' : ' error' ,
46+ ' security/detect-no-csrf-before-method-override' : ' error' ,
47+ ' security/detect-non-literal-regexp' : ' error' ,
48+ ' security/detect-non-literal-require' : ' warn' ,
49+ ' security/detect-object-injection' : ' warn' ,
50+ ' security/detect-possible-timing-attacks' : ' error' ,
51+ ' security/detect-pseudoRandomBytes' : ' error' ,
52+ ' space-before-function-paren' : ' off' ,
53+ ' @typescript-eslint/default-param-last' : ' off' ,
54+ ' @typescript-eslint/strict-boolean-expressions' : 0
55+ }
56+ }
0 commit comments