debt - improve ipc validation code

This commit is contained in:
Benjamin Pasero
2022-04-12 07:46:17 +02:00
parent e1bd9c0ba2
commit be376cfef0
12 changed files with 205 additions and 40 deletions

View File

@@ -191,6 +191,9 @@ const RULES = [
'Event',
'Request'
],
disallowedTypes: [
'ipcMain' // not allowed, use validatedIpcMain instead
],
disallowedDefinitions: [
'lib.dom.d.ts' // no DOM
]