Skip to content

Instantly share code, notes, and snippets.

View Ryan-Biondo's full-sized avatar
🎯
Focusing

Ryan Biondo Ryan-Biondo

🎯
Focusing
View GitHub Profile
@karpolan
karpolan / .prettierrc.js
Last active April 5, 2025 14:30
Prettier config for React App
module.exports = {
printWidth: 120, // max 120 chars in line, code is easy to read
useTabs: false, // use spaces instead of tabs
tabWidth: 2, // "visual width" of of the "tab"
trailingComma: 'es5', // add trailing commas in objects, arrays, etc.
semi: true, // add ; when needed
singleQuote: true, // '' for stings instead of ""
bracketSpacing: true, // import { some } ... instead of import {some} ...
arrowParens: 'always', // braces even for single param in arrow functions (a) => { }
jsxSingleQuote: false, // "" for react props, like in html
@citrusui
citrusui / dropdown.md
Last active April 23, 2025 04:21
"Dropdowns" in Markdown
How do I dropdown?
This is how you dropdown.

<details>
<summary>How do I dropdown?</summary>
<br>
This is how you dropdown.