Skip to content

Instantly share code, notes, and snippets.

View henricker's full-sized avatar
📚
Eternal apprentice

Henrique Vieira henricker

📚
Eternal apprentice
  • Boa Viagem - CE - Brazil
  • 07:16 (UTC -03:00)
View GitHub Profile
@sturmenta
sturmenta / dashboard-example.tsx
Last active March 18, 2024 09:29
Sidebar for mobile and desktop using shadcn-ui
"use client"
import { WithSidebar } from "@/components/with-sidebar"
export const Dashboard = () => {
return (
<WithSidebar
sidebarContent={SidebarContent}
mobileDashboardHeader={CustomHeader}>
<div className="p-10">
@Gustavo-Kuze
Gustavo-Kuze / setup_prettier_eslint_airbnb.md
Last active February 11, 2024 03:45
Como configurar o Prettier/ESLint com o preset do AirBnb em projetos React e NodeJS

Como configurar o Prettier/ESLint com o preset do AirBnb em projetos React e NodeJS

ReactJS

  1. Instale as seguintes dependencias em seu projeto React:
yarn add -D babel-eslint prettier eslint-config-prettier eslint-plugin-prettier eslint eslint-plugin-react eslint-config-airbnb eslint-plugin-jsx-a11y eslint-plugin-import eslint-import-resolver-webpack