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
  • 17:56 (UTC -03:00)
View GitHub Profile
@sturmenta
sturmenta / dashboard-example.tsx
Last active October 14, 2024 20:30
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 August 1, 2024 17:17
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