aboutsummaryrefslogtreecommitdiff
path: root/src/vue-javascript.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/vue-javascript.ts')
-rw-r--r--src/vue-javascript.ts19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/vue-javascript.ts b/src/vue-javascript.ts
new file mode 100644
index 0000000..a3c7a46
--- /dev/null
+++ b/src/vue-javascript.ts
@@ -0,0 +1,19 @@
+import rDefault from "./rules/vue/default.json";
+
+module.exports = {
+ "extends": [
+ "./javascript",
+ "plugin:vue/base",
+ "plugin:vue/essential",
+ "plugin:vue/recommended",
+ "plugin:vue/strongly-recommended",
+ ],
+ "parser": "vue-eslint-parser",
+ "parserOptions": {
+ extraFileExtensions: [
+ ".vue",
+ ],
+ },
+ "plugins": ["vue"],
+ "rules": { ...rDefault },
+};