Skip to content

Commit

Permalink
fix(typescript): Also set the typescript settings to the vue override…
Browse files Browse the repository at this point in the history
…s for typescript import resolving

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Sep 17, 2023
1 parent 55bbaec commit 63afa5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ vueOverrides.rules = {
...typescriptOverrides.rules,
}

// Add settings, required for import resolver
vueOverrides.settings = {
...(vueOverrides.settings || []),
...typescriptOverrides.settings,
}

// Also extend from vue typescript eslint
vueOverrides.extends.push('@vue/eslint-config-typescript/recommended')

Expand Down

0 comments on commit 63afa5e

Please sign in to comment.