From 9b947b11fac73ac5baac1fee35c19b47afb21f1c Mon Sep 17 00:00:00 2001 From: Toru Nagashima Date: Sat, 21 Jul 2018 19:47:00 +0900 Subject: [PATCH] Update: 'parser:false' skip parsing '` + const config = { + parser: "vue-eslint-parser", + parserOptions: { + parser: false, + }, + rules: { + "vue/valid-template-root": "error", + }, + } + const messages = linter.verify(code, config, "test.vue") + + assert.strictEqual(messages.length, 1) + assert.strictEqual(messages[0].ruleId, "vue/valid-template-root") + }) + }) +})