Add Bun and TypeScript configuration.
This commit is contained in:
parent
8e1adc3631
commit
264dcac6f2
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"@bauke/eslint-config": "^0.1.5",
|
||||
"@bauke/prettier-config": "^0.1.5",
|
||||
"@types/bun": "^1.0.8",
|
||||
"astro": "^4.4.9",
|
||||
"sass": "^1.71.1",
|
||||
"typescript": "^5.3.3",
|
||||
"xo": "^0.57.0"
|
||||
},
|
||||
"prettier": "@bauke/prettier-config",
|
||||
"xo": {
|
||||
"extends": "@bauke/eslint-config",
|
||||
"prettier": true,
|
||||
"rules": {
|
||||
"unicorn/prevent-abbreviations": "off"
|
||||
},
|
||||
"space": true
|
||||
}
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"allowImportingTsExtensions": true,
|
||||
"allowJs": true,
|
||||
"jsx": "react-jsx",
|
||||
"lib": ["ES2022"],
|
||||
"module": "ES2022",
|
||||
"moduleDetection": "force",
|
||||
"moduleResolution": "bundler",
|
||||
"noEmit": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noPropertyAccessFromIndexSignature": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"target": "ES2022",
|
||||
"verbatimModuleSyntax": true
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue