From 799d1de6607a6387765b820acfcad42883457afe Mon Sep 17 00:00:00 2001 From: Armano Date: Fri, 14 Jul 2017 08:42:16 +0200 Subject: [PATCH] vue/order-in-components throws eslint rule schema validation error on custom order (#74) --- 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 + } + ] } }