aboutsummaryrefslogtreecommitdiff
path: root/src/vue-javascript.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-javascript.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-javascript.ts')
-rw-r--r--src/vue-javascript.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vue-javascript.ts b/src/vue-javascript.ts
index a3c7a46..39fba7d 100644
--- a/src/vue-javascript.ts
+++ b/src/vue-javascript.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": {
extraFileExtensions: [