Skip to content

Commit

Permalink
Adopted absolute imports
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Hoops <9974641+jfelixh@users.noreply.github.com>
  • Loading branch information
jfelixh committed Jun 10, 2024
1 parent 7971ea4 commit 465ae3c
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion vclogin/lib/extractClaims.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ const extractClaimsFromVC = (VC: any, policy: LoginPolicy) => {
if (!newPath) {
throw Error(
"New path not defined for multi-valued claim: " +
claim.claimPath,
claim.claimPath,
);
}

Expand Down
38 changes: 33 additions & 5 deletions vclogin/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
Expand All @@ -14,11 +18,35 @@
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"baseUrl": ".",
"paths": {
"@/*": ["./*"]
"@/testdata/*": [
"__tests__/testdata/*"
],
"@/lib/*": [
"lib/*"
],
"@/config/*": [
"config/*"
],
"@/types/*": [
"types/*"
],
"@/pages/*": [
"pages/*"
],
},
"typeRoots": ["./types"]
"typeRoots": [
"./types"
]
},
"include": ["next-env.d.ts", "types/**/*.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
"include": [
"next-env.d.ts",
"types/**/*.ts",
"**/*.ts",
"**/*.tsx"
],
"exclude": [
"node_modules"
]
}

0 comments on commit 465ae3c

Please sign in to comment.