From 614ce4de0a671820497ff243b7595413cadde4e3 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Wed, 28 Jan 2015 13:48:45 +1100 Subject: [PATCH] add common plugin options to validOptions just to be safe --- lib/6to5/file.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/6to5/file.js b/lib/6to5/file.js index 64d2f7aad0..23adb84386 100644 --- a/lib/6to5/file.js +++ b/lib/6to5/file.js @@ -70,7 +70,12 @@ File.validOptions = [ "ast", "format", "playground", - "experimental" + "experimental", + + // these are used by plugins + "ignore", + "only", + "extensions" ]; File.normaliseOptions = function (opts) {