mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2026-10-28 09:44:55 +00:00
51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"plugins": [
|
|
{
|
|
"name": "@styled/typescript-styled-plugin",
|
|
"lint": {
|
|
"validProperties": ["rx", "ry", "r"]
|
|
}
|
|
}
|
|
],
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
"useDefineForClassFields": true,
|
|
"target": "ES2022",
|
|
"lib": ["ES2023"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"erasableSyntaxOnly": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedSideEffectImports": true,
|
|
"paths": {
|
|
"@lutinglt/gitea-github-theme/core": ["./src"],
|
|
"@lutinglt/gitea-github-theme/vite-plugin": ["./src/vite-plugin"],
|
|
"@lutinglt/gitea-github-theme/styles": ["./styles"],
|
|
"@lutinglt/gitea-github-theme/styles/common": ["./styles/common"],
|
|
"@lutinglt/gitea-github-theme/themes": ["./themes"],
|
|
"@lutinglt/gitea-github-theme/assets": ["./assets"]
|
|
}
|
|
},
|
|
"include": [
|
|
"src",
|
|
"styles",
|
|
"themes",
|
|
"scripts",
|
|
"assets/primer",
|
|
"eslint.config.ts",
|
|
"vite.config.ts",
|
|
"theme.config.ts",
|
|
"theme.test.ts"
|
|
]
|
|
}
|