ipcMain validation (#147071)

* first cut ipc validation

* clean up

* comment
This commit is contained in:
Benjamin Pasero
2022-04-11 18:11:19 +02:00
committed by GitHub
parent 12500e46ac
commit 508b173177
12 changed files with 190 additions and 40 deletions
+3
View File
@@ -191,6 +191,9 @@ const RULES = [
'Event',
'Request'
],
disallowedTypes: [
'ipcMain' // not allowed, use validatedIpcMain instead
],
disallowedDefinitions: [
'lib.dom.d.ts' // no DOM
]