chore: lint-format-docs-tests-bugfixes (#105)

* docs: add jsdoc

* feat: change enums to as const objects

* chore(test): add themeColors.test.ts

* fix: fix tests and bugs with strings.ts util

* fix: path alias imports and tsconfig file bug

* fix: remove --max-warnings 0
This commit is contained in:
doprz
2024-02-22 22:42:58 -06:00
parent 8ab60c9f01
commit 8a6e9070e0
134 changed files with 986 additions and 623 deletions

View File

@@ -6,43 +6,22 @@
"module": "esnext",
"noEmit": true,
"jsx": "react",
"typeRoots": [
"./node_modules/@types",
"./@types/"
],
"typeRoots": ["./node_modules/@types", "./@types/"],
"skipLibCheck": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"moduleResolution": "node",
"types": [
"vite/client",
"unplugin-icons/types/react",
"node"
],
"types": ["vite/client", "unplugin-icons/types/react", "node"],
"noFallthroughCasesInSwitch": true,
"allowSyntheticDefaultImports": true,
"paths": {
"src/*": [
"src/*"
],
"@assets/*": [
"src/assets/*"
],
"@pages/*": [
"src/pages/*"
],
"@public/*": [
"public/*"
],
"@shared/*": [
"src/shared/*"
],
"@background/*": [
"src/pages/background/*"
],
"@views/*": [
"src/views/*"
],
"src/*": ["src/*"],
"@assets/*": ["src/assets/*"],
"@pages/*": ["src/pages/*"],
"@public/*": ["public/*"],
"@shared/*": ["src/shared/*"],
"@background/*": ["src/pages/background/*"],
"@views/*": ["src/views/*"]
}
},
"include": [
@@ -55,6 +34,6 @@
".eslintrc",
"postcss.config.cjs",
".storybook",
"unocss.config.ts",
"unocss.config.ts"
]
}