From 191562f1b355f18074c6b97c5573c6a473e64147 Mon Sep 17 00:00:00 2001 From: Armano Date: Fri, 14 Jul 2017 02:38:27 +0200 Subject: [PATCH] vue/order-in-components throws eslint rule schema validation error on custom order --- lib/rules/order-in-components.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/rules/order-in-components.js b/lib/rules/order-in-components.js index 56cf55d0f..0c4d23bab 100644 --- a/lib/rules/order-in-components.js +++ b/lib/rules/order-in-components.js @@ -143,6 +143,16 @@ module.exports = { recommended: false }, fixable: null, - schema: [] + schema: [ + { + type: 'object', + properties: { + order: { + type: 'array' + } + }, + additionalProperties: false + } + ] } }