Skip to content

Commit

Permalink
Fix issues raised
Browse files Browse the repository at this point in the history
  • Loading branch information
as3810t committed Nov 3, 2024
1 parent ddd77e4 commit 42387bb
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 52 deletions.
32 changes: 15 additions & 17 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp

// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"dbaeumer.vscode-eslint",
"hbenl.vscode-mocha-test-adapter",
"esbenp.prettier-vscode",
"JuanBlanco.solidity",
"ms-vscode.test-adapter-converter",
"hbenl.vscode-test-explorer",
"mhutchie.git-graph"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": [
"NomicFoundation.hardhat-solidity"
]
}
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"dbaeumer.vscode-eslint",
"hbenl.vscode-mocha-test-adapter",
"esbenp.prettier-vscode",
"JuanBlanco.solidity",
"ms-vscode.test-adapter-converter",
"hbenl.vscode-test-explorer",
"mhutchie.git-graph"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": ["NomicFoundation.hardhat-solidity"]
}
4 changes: 2 additions & 2 deletions .vscode/keybindings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"key": "f5",
"key": "f5",
"command": "-solidity.compile.active",
"when": "editorTextFocus && editorLangId == 'solidity'"
},
Expand All @@ -9,4 +9,4 @@
"command": "-solidity.compile",
"when": "editorTextFocus && editorLangId == 'solidity'"
}
]
]
20 changes: 5 additions & 15 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,21 @@
{
"name": "Compile (hardhat)",
"request": "launch",
"runtimeArgs": [
"hardhat",
"compile"
],
"runtimeArgs": ["hardhat", "compile"],
"runtimeExecutable": "npx",
"skipFiles": [
"<node_internals>/**"
],
"skipFiles": ["<node_internals>/**"],
"type": "node",
"console": "integratedTerminal"
},
{
"name": "Test (hardhat)",
"request": "launch",
"runtimeArgs": [
"hardhat",
"test"
],
"runtimeArgs": ["hardhat", "test"],
"runtimeExecutable": "npx",
"skipFiles": [
"<node_internals>/**"
],
"skipFiles": ["<node_internals>/**"],
"type": "node",
"console": "integratedTerminal",
"preLaunchTask": "npm: compile"
}
]
}
}
36 changes: 18 additions & 18 deletions frontend/tsconfig.node.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"compilerOptions": {
"target": "ES2022",
"lib": ["ES2023"],
"module": "ESNext",
"skipLibCheck": true,
"compilerOptions": {
"target": "ES2022",
"lib": ["ES2023"],
"module": "ESNext",
"skipLibCheck": true,

/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,

/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["vite.config.ts"]
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["vite.config.ts"]
}

0 comments on commit 42387bb

Please sign in to comment.