summaryrefslogtreecommitdiff
path: root/src/vue-typescript.ts
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-04-01 13:54:34 +0300
committerGitHub <noreply@github.com>2020-04-01 13:54:34 +0300
commitadf39edc06ca27c1179751601ad56ea7b89c9ab4 (patch)
treebf6aa599d2790272b8bd645744eadcd290ff654e /src/vue-typescript.ts
parent3d805a1417feeeaf26aae602010ab8c03393cddf (diff)
parent43a293985cec5106e994742fead7b8c5f7afd5d8 (diff)
downloadeslint-config-adf39edc06ca27c1179751601ad56ea7b89c9ab4.tar.xz
eslint-config-adf39edc06ca27c1179751601ad56ea7b89c9ab4.zip
Merge pull request #3 from valentineus/20200401v0.0.15
20200401
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,