Skip to content

Instantly share code, notes, and snippets.

View feliperdamaceno's full-sized avatar
🪲
You got a BUG!

Felipe Damaceno feliperdamaceno

🪲
You got a BUG!
View GitHub Profile
@feliperdamaceno
feliperdamaceno / prettify.ts
Last active January 21, 2025 22:12
TS type helper to cleanup the result of merged object types.
type Prettify<T> = {
[K in keyof T]: T[K]
} & {}
{
"singleQuote": true,
"tabWidth": 2,
"semi": false,
"endOfLine": "lf",
"trailingComma": "none",
"bracketSpacing": true,
"arrowParens": "always",
"proseWrap": "always",
"importOrder": [
@feliperdamaceno
feliperdamaceno / tsconfig.json
Last active January 6, 2025 00:19
TS Config Starter Kit.
{
"compilerOptions": {
/* Base Options: */
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
"target": "ES2022" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"allowJs": true /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */,
"resolveJsonModule": true /* Enable importing .json files. */,
"moduleDetection": "force" /* Control what method is used to detect module-format JS files. */,
"isolatedModules": true /* Ensure that each file can be safely transpiled without relying on other imports. */,
@feliperdamaceno
feliperdamaceno / keybindings.jsonc
Last active December 13, 2025 14:48
VSCode Key bindings
[
{
/* -------------------------------------------- */
/* ✅ Toggle Explorer Bar */
/* -------------------------------------------- */
"key": "ctrl+e",
"command": "workbench.action.toggleSidebarVisibility"
},
{
/* -------------------------------------------- */
@feliperdamaceno
feliperdamaceno / settings.jsonc
Last active December 15, 2025 11:36
VSCode Settings 2025
{
/* ----------------------------- */
/* GENERAL */
/* ----------------------------- */
"breadcrumbs.enabled": false,
"explorer.autoReveal": false,
"explorer.compactFolders": false,
"explorer.confirmDragAndDrop": false,
"explorer.fileNesting.enabled": false,
"explorer.sortOrder": "type",