summaryrefslogtreecommitdiff
path: root/src/vue-javascript.ts
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 12:04:00 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 12:06:04 +0300
commit6a5695c0b7f03c02a7252a9473171daed0c8eff7 (patch)
treef20c89ae5c43ba9872262c1d70d7a06265139ee3 /src/vue-javascript.ts
parentd28e9d909b4e1aa9059c668453da7d8dc2f0b6f0 (diff)
downloadeslint-config-6a5695c0b7f03c02a7252a9473171daed0c8eff7.tar.xz
eslint-config-6a5695c0b7f03c02a7252a9473171daed0c8eff7.zip
feat(vue): Initial Vue config
Signed-off-by: Valentin Popov <info@valentineus.link>
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 },
+};