From 6a5695c0b7f03c02a7252a9473171daed0c8eff7 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 13:04:00 +0400 Subject: feat(vue): Initial Vue config Signed-off-by: Valentin Popov --- src/vue-typescript.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/vue-typescript.ts (limited to 'src/vue-typescript.ts') diff --git a/src/vue-typescript.ts b/src/vue-typescript.ts new file mode 100644 index 0000000..bbef943 --- /dev/null +++ b/src/vue-typescript.ts @@ -0,0 +1,20 @@ +import rDefault from "./rules/vue/default.json"; + +module.exports = { + "extends": [ + "./typescript", + "plugin:vue/base", + "plugin:vue/essential", + "plugin:vue/recommended", + "plugin:vue/strongly-recommended", + ], + "parser": "vue-eslint-parser", + "parserOptions": { + extraFileExtensions: [ + ".vue", + ], + parser: "@typescript-eslint/parser", + }, + "plugins": ["vue"], + "rules": { ...rDefault }, +}; -- cgit v1.2.3