From a3a2934e43d09e81635e2cf7495f8488f7841f44 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 1 Apr 2020 14:48:54 +0400 Subject: feat(vue): Added overrides Signed-off-by: Valentin Popov --- src/vue-typescript.ts | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/vue-typescript.ts') diff --git a/src/vue-typescript.ts b/src/vue-typescript.ts index f44c6f2..11d4d61 100644 --- a/src/vue-typescript.ts +++ b/src/vue-typescript.ts @@ -1,4 +1,5 @@ import rDefault from "./rules/vue/default.json"; +import rOverrides from "./rules/vue/overrides.json"; module.exports = { "extends": [ @@ -8,6 +9,14 @@ module.exports = { "plugin:vue/recommended", "plugin:vue/strongly-recommended", ], + "overrides": [ + { + files: [ + "*.vue", + ], + rules: { ...rOverrides }, + }, + ], "parser": "vue-eslint-parser", "parserOptions": { createDefaultProgram: true, -- cgit v1.2.3