feat: initialize pnpm workspace, TypeScript configuration, and Turbo tasks

- Added pnpm-workspace.yaml to manage workspace packages and dependencies.
- Created tsconfig.json with strict TypeScript settings for better type safety.
- Introduced turbo.json to define build, lint, test, and other tasks with dependencies.
This commit is contained in:
2026-03-06 15:12:02 +03:00
commit 3f8cda4234
91 changed files with 14393 additions and 0 deletions
+107
View File
@@ -0,0 +1,107 @@
{
"$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": true
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 80,
"useEditorconfig": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noExtraBooleanCast": "error",
"noUselessCatch": "error",
"noUselessTypeConstraint": "error"
},
"correctness": {
"noConstAssign": "error",
"noConstantCondition": "error",
"noGlobalObjectCalls": "error",
"noInvalidConstructorSuper": "error",
"noPrecisionLoss": "error",
"noSelfAssign": "error",
"noSwitchDeclarations": "error",
"noUndeclaredVariables": "error",
"noUnreachable": "error",
"noUnsafeFinally": "error",
"noUnsafeOptionalChaining": "error",
"noUnusedVariables": "error",
"noUnusedPrivateClassMembers": "error"
},
"style": {
"noCommonJs": "error",
"noNamespace": "error",
"useAsConstAssertion": "error",
"useBlockStatements": "off",
"useConsistentArrowReturn": "off"
},
"suspicious": {
"noDebugger": "error",
"noEmptyBlockStatements": "error",
"noExplicitAny": "error",
"noFallthroughSwitchClause": "error",
"noGlobalAssign": "error",
"noRedeclare": "error",
"noShadowRestrictedNames": "error",
"noUnusedExpressions": "off",
"useAwait": "error"
}
}
},
"javascript": {
"formatter": {
"quoteProperties": "asNeeded",
"trailingCommas": "all",
"semicolons": "asNeeded",
"arrowParentheses": "always",
"quoteStyle": "single",
"bracketSpacing": true
}
},
"overrides": [
{
"includes": ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],
"linter": {
"rules": {
"complexity": { "noArguments": "error" },
"correctness": {
"noConstAssign": "off",
"noGlobalObjectCalls": "off",
"noInvalidConstructorSuper": "off",
"noUndeclaredVariables": "off",
"noUnreachable": "off"
},
"style": { "useConst": "error" },
"suspicious": {
"noDuplicateClassMembers": "off",
"noFunctionAssign": "off",
"noImportAssign": "off",
"noRedeclare": "off",
"noVar": "error",
"useGetterReturn": "off"
}
}
}
}
],
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
}
}