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 / settings.json
Last active October 10, 2024 01:07
VSCode Settings 2024
{
/* ----------------------------- */
/* GENERAL */
/* ----------------------------- */
"breadcrumbs.enabled": false,
"editor.formatOnSave": true,
"editor.stickyScroll.enabled": false,
"explorer.compactFolders": false,
"explorer.sortOrder": "type",
"extensions.ignoreRecommendations": true,
{
"parser": "babel-eslint",
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true
},
"extends": ["eslint:recommended"],
"parserOptions": {
@feliperdamaceno
feliperdamaceno / keybindings.json
Last active October 10, 2024 01:07
keybindings.json
// Place your key bindings in this file to override the defaults
[
{
/*--------------------------
Toggle Explorer Bar.
--------------------------*/
"key": "ctrl+e",
"command": "workbench.action.toggleSidebarVisibility"
},
{
{
"React Component": {
"prefix": "trc",
"body": [
"interface ${TM_FILENAME_BASE}Props {",
"\t$1",
"}",
"",
"export default function $TM_FILENAME_BASE({ $2 }: ${TM_FILENAME_BASE}Props) {",
"\treturn (",
{
"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. */,
{
"singleQuote": true,
"tabWidth": 2,
"semi": false,
"trailingComma": "none",
"endOfLine": "lf"
}