mirror of
https://github.com/goauthentik/authentik
synced 2026-04-25 17:15:26 +02:00
53 lines
1.6 KiB
JSON
53 lines
1.6 KiB
JSON
// @file TSConfig used by the web package during development.
|
|
{
|
|
"extends": "@goauthentik/tsconfig",
|
|
"compilerOptions": {
|
|
"checkJs": true,
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"emitDeclarationOnly": true,
|
|
"experimentalDecorators": true,
|
|
// See https://lit.dev/docs/components/properties/
|
|
"useDefineForClassFields": false,
|
|
"target": "esnext",
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"baseUrl": ".",
|
|
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
// TODO: We should enable this when when we're ready to enforce it.
|
|
"noUncheckedIndexedAccess": false,
|
|
"plugins": [
|
|
{
|
|
"name": "ts-lit-plugin",
|
|
"strict": true,
|
|
"rules": {
|
|
"no-unknown-tag-name": "off",
|
|
"no-missing-import": "off",
|
|
"no-incompatible-type-binding": "off",
|
|
"no-unknown-property": "off",
|
|
"no-unknown-attribute": "off"
|
|
}
|
|
},
|
|
{
|
|
"name": "@genesiscommunitysuccess/custom-elements-lsp",
|
|
"designSystemPrefix": "ak-",
|
|
"parser": {
|
|
"timeout": 2000
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"exclude": [
|
|
// ---
|
|
"**/out/**/*",
|
|
"**/dist/**/*",
|
|
"storybook-static",
|
|
"src/**/*.test.ts",
|
|
"./tests",
|
|
|
|
// TODO: Remove after monorepo cleanup.
|
|
"src/**/*.comp.ts"
|
|
]
|
|
}
|