From b90a5614d5d611a11ec8d683b870c74962930379 Mon Sep 17 00:00:00 2001 From: Matteus Date: Sat, 17 Mar 2018 20:21:50 +0100 Subject: [PATCH] fix(options): disallow additional properties and add ident to validation --- lib/options.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/options.json b/lib/options.json index f1b194aa..0d63647b 100644 --- a/lib/options.json +++ b/lib/options.json @@ -16,6 +16,9 @@ "exec": { "type": "boolean" }, + "ident": { + "type": "string" + }, "parser": { "type": [ "string", "object" ] }, @@ -36,5 +39,5 @@ "type": [ "string", "boolean" ] } }, - "additionalProperties": true + "additionalProperties": false }