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-javascript.ts | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/vue-javascript.ts') diff --git a/src/vue-javascript.ts b/src/vue-javascript.ts index a3c7a46..39fba7d 100644 --- a/src/vue-javascript.ts +++ b/src/vue-javascript.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": { extraFileExtensions: [ -- cgit v1.2.3