aboutsummaryrefslogtreecommitdiff
path: root/src/vue-typescript.ts
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-04-01 13:48:54 +0300
committerValentin Popov <info@valentineus.link>2020-04-01 13:49:17 +0300
commita3a2934e43d09e81635e2cf7495f8488f7841f44 (patch)
tree530acbe00f704093a142af6a2646d984362c5c09 /src/vue-typescript.ts
parent28516614a3904be3d81f6645bc39dadf469613be (diff)
downloadeslint-config-a3a2934e43d09e81635e2cf7495f8488f7841f44.tar.xz
eslint-config-a3a2934e43d09e81635e2cf7495f8488f7841f44.zip
feat(vue): Added overrides
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/vue-typescript.ts')
-rw-r--r--src/vue-typescript.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vue-typescript.ts b/src/vue-typescript.ts
index f44c6f2..11d4d61 100644
--- a/src/vue-typescript.ts
+++ b/src/vue-typescript.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": {
createDefaultProgram: true,