Skip to content

Commit

Permalink
Merge pull request #639 from nextcloud-libraries/fix/typescript-in-vue
Browse files Browse the repository at this point in the history
fix(typescript): Also set the typescript settings to the vue overrides for typescript import resolving
  • Loading branch information
skjnldsv committed Sep 18, 2023
2 parents 55bbaec + 63afa5e commit b9fc592
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions typescript.js
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 b9fc592

Please sign in to comment.