1- " use strict" ;
1+ ' use strict'
22
33module . exports = {
44 env : {
@@ -10,29 +10,29 @@ module.exports = {
1010 // es2024: true, /* enable after 2024-04-30, when node 18 LTS ends */
1111 } ,
1212 root : true ,
13- extends : [ " eslint:recommended" ] ,
13+ extends : [ ' eslint:recommended' ] ,
1414 globals : {
15- CONT : " readonly" ,
16- STOP : " readonly" ,
17- DENY : " readonly" ,
18- DENYSOFT : " readonly" ,
19- DENYDISCONNECT : " readonly" ,
20- DISCONNECT : " readonly" ,
21- OK : " readonly" ,
22- NEXT_HOOK : " readonly" ,
23- DELAY : " readonly" ,
24- DENYSOFTDISCONNECT : " readonly" ,
15+ CONT : ' readonly' ,
16+ STOP : ' readonly' ,
17+ DENY : ' readonly' ,
18+ DENYSOFT : ' readonly' ,
19+ DENYDISCONNECT : ' readonly' ,
20+ DISCONNECT : ' readonly' ,
21+ OK : ' readonly' ,
22+ NEXT_HOOK : ' readonly' ,
23+ DELAY : ' readonly' ,
24+ DENYSOFTDISCONNECT : ' readonly' ,
2525 } ,
2626 parserOptions : {
27- ecmaVersion : " latest" ,
27+ ecmaVersion : ' latest' ,
2828 } ,
2929 rules : {
3030 // 0 = off // 1 = warn // 2 = error
31- " no-empty" : [ " error" , { allowEmptyCatch : true } ] ,
32- " no-undef" : " warn" ,
33- " no-console" : " off" ,
34- " no-constant-condition" : [ " error" , { checkLoops : false } ] ,
35- " prefer-const" : [ " error" , { ignoreReadBeforeAssign : true } ] ,
36- " no-unused-vars" : [ " warn" , { caughtErrorsIgnorePattern : " ignore" } ] ,
31+ ' no-empty' : [ ' error' , { allowEmptyCatch : true } ] ,
32+ ' no-undef' : ' warn' ,
33+ ' no-console' : ' off' ,
34+ ' no-constant-condition' : [ ' error' , { checkLoops : false } ] ,
35+ ' prefer-const' : [ ' error' , { ignoreReadBeforeAssign : true } ] ,
36+ ' no-unused-vars' : [ ' warn' , { caughtErrorsIgnorePattern : ' ignore' } ] ,
3737 } ,
38- } ;
38+ }
0 commit comments