0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-16 14:42:45 +00:00

New fix to table regex. Avoids ReDOS issues.

This commit is contained in:
Trevor Buckner
2021-08-12 00:06:56 -04:00
parent 77d447c0a3
commit db22725687
2 changed files with 14 additions and 8 deletions

View File

@@ -32,7 +32,7 @@ module.exports = {
skipBlankLines : true,
}],
'max-depth' : ['warn', { max: 4 }],
'max-params' : ['warn', { max: 4 }],
'max-params' : ['warn', { max: 5 }],
'no-restricted-syntax' : ['warn', 'ClassDeclaration', 'SwitchStatement'],
'no-unused-vars' : ['warn', {
vars : 'all',