summaryrefslogtreecommitdiff
path: root/src/vue-typescript.ts
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-04-01 13:56:31 +0300
committerGitHub <noreply@github.com>2020-04-01 13:56:31 +0300
commitc9e51ad9e8f23fc6383129c34d762a0fd3450417 (patch)
treebf6aa599d2790272b8bd645744eadcd290ff654e /src/vue-typescript.ts
parent4aa0bc667bea03259f8bb26dba63795e74a86299 (diff)
parentadf39edc06ca27c1179751601ad56ea7b89c9ab4 (diff)
downloadeslint-config-c9e51ad9e8f23fc6383129c34d762a0fd3450417.tar.xz
eslint-config-c9e51ad9e8f23fc6383129c34d762a0fd3450417.zip
Merge pull request #4 from valentineus/develop
Develop
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,