From 25909b786789d6f3a6535c0fbc5e45bd8758378f Mon Sep 17 00:00:00 2001 From: Soreine Date: Mon, 24 Oct 2016 16:22:12 +0200 Subject: [PATCH] Remove unreachable code --- src/plugins/schema.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/schema.js b/src/plugins/schema.js index e70cdb480..b0c96937a 100644 --- a/src/plugins/schema.js +++ b/src/plugins/schema.js @@ -137,7 +137,6 @@ const INLINE_VOID_TEXT_RULE = { const INLINE_VOID_TEXTS_AROUND_RULE = { match: (object) => { return object.kind == 'block' - return object.kind == 'block' || object.kind == 'inline' }, validate: (block) => { const invalids = block.nodes.reduce((accu, child, index) => {