Skip to content

Commit

Permalink
format json
Browse files Browse the repository at this point in the history
  • Loading branch information
vaaski committed Jul 19, 2024
1 parent d47de13 commit 9d57971
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 33 deletions.
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,13 @@
"description": "Quickly create a local development environment for your TypeScript project.",
"author": "vaaski <[email protected]>",
"license": "MIT",
"files": [
"dist",
"templates"
],
"files": ["dist", "templates"],
"scripts": {
"start": "bun run src/index.ts",
"dev": "bun run --watch src/index.ts",
"build": "bun run scripts/build.ts",
"test": "echo no tests yet",
"format": "biome format --write src scripts",
"format": "biome format --write src scripts *.json",
"prepare": "bun run build"
},
"devDependencies": {
Expand Down
56 changes: 28 additions & 28 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
{
"compilerOptions": {
// Enable latest features
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,

// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,

// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,

// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
}
}
{
"compilerOptions": {
// Enable latest features
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,

// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,

// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,

// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
}
}

0 comments on commit 9d57971

Please sign in to comment.