summaryrefslogtreecommitdiff
path: root/src/vue-typescript.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/vue-typescript.ts')
-rw-r--r--src/vue-typescript.ts20
1 files changed, 20 insertions, 0 deletions
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 },
+};