mirror of
https://github.com/Komediruzecki/token-circles.git
synced 2026-10-20 09:46:43 +02:00
- Fix 79 TS compiler errors across components and core storage. - Update TS and ESLint configurations to allow '_' prefixed unused variables. - Add localStorage mock to vitest setup. - General formatting and code cleanup.
47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"useDefineForClassFields": true,
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
"types": ["vite/client"],
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "preserve",
|
|
"jsxImportSource": "solid-js",
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*"],
|
|
"@/core/*": ["src/core/*"],
|
|
"@/features/*": ["src/features/*"],
|
|
"@/components/*": ["src/components/*"],
|
|
"@/stores/*": ["src/stores/*"],
|
|
"@/types/*": ["src/types/*"],
|
|
"@/lib/*": ["src/lib/*"],
|
|
"@/css/*": ["src/css/*"]
|
|
},
|
|
"plugins": [
|
|
{
|
|
"name": "typescript-plugin-css-modules",
|
|
"options": {
|
|
"classnameTransform": "camelCaseOnly",
|
|
"goToDefinition": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"include": ["src/**/*", "tests/**/*", "css-modules.d.ts"]
|
|
}
|