summaryrefslogtreecommitdiff
path: root/src/vue-javascript.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-javascript.ts
parent3d805a1417feeeaf26aae602010ab8c03393cddf (diff)
parent43a293985cec5106e994742fead7b8c5f7afd5d8 (diff)
downloadeslint-config-c76b86d7daa01a28dccfb219b87df3f19f0096ed.tar.xz
eslint-config-c76b86d7daa01a28dccfb219b87df3f19f0096ed.zip
Merge pull request #3 from valentineus/20200401v0.0.15
20200401
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: [