Skip to content

Instantly share code, notes, and snippets.

View luizwhite's full-sized avatar
🎯
Focusing

Luiz Augusto luizwhite

🎯
Focusing
View GitHub Profile
@luizwhite
luizwhite / .eslintrc.json
Last active February 26, 2022 18:37
Next.js Eslint Config
{
"extends": ["next/core-web-vitals", "plugin:prettier/recommended"],
"plugins": ["import-helpers"],
"rules": {
"import-helpers/order-imports": [
"warn",
{
"newlinesBetween": "always",
"groups": [
"module",
@luizwhite
luizwhite / .eslintrc.json
Last active February 22, 2022 23:37
Node.js Eslint Config
{
"env": {
"es2021": true,
"node": true,
"jest": true
},
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
@luizwhite
luizwhite / .eslintrc.json
Created November 2, 2021 17:23
React Vite Eslint Config
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:react-hooks/recommended",
"plugin:react/recommended",
"airbnb",
"plugin:@typescript-eslint/recommended",
@luizwhite
luizwhite / .gitignore_global
Created October 24, 2021 21:49
Git Ignore Global File
# editor
vscode
.vscode
# dependencies
**/node_modules
# testing
coverage
@luizwhite
luizwhite / .gitconfig
Created October 24, 2021 21:47
Git Config File
[core]
excludesfile = ~/.gitignore_global
editor = vim
[color "status"]
added = green
changed = yellow
untracked = red
[color "branch"]
@luizwhite
luizwhite / ubuntu-setup.txt
Last active February 10, 2022 10:42
My Ubuntu Initial Setup
sudo apt install ubuntu-restricted-extras
sudo apt install python3-pip
sudo apt install curl
sudo apt install gzip
sudo apt install fonts-firacode
sudo apt install git
sudo apt install docker-ce
sudo apt install docker-ce-cli
sudo apt install gdebi
@luizwhite
luizwhite / install_eslint_pkgs.txt
Last active February 26, 2022 18:34
Install EsLint Prettier Packages - React/Node
yarn add eslint prettier -D
/* NEXT */ - (dont need to install eslint)
yarn add eslint-plugin-import-helpers@latest eslint-config-prettier eslint-plugin-prettier -D
/* REACT */
yarn add eslint-plugin-react@^7.21.5 eslint-config-airbnb@latest eslint-plugin-import@^2.25.2 eslint-plugin-import-helpers@latest eslint-import-resolver-typescript eslint-plugin-jsx-a11y@^6.4.1 eslint-plugin-react-hooks@^4 @typescript-eslint/eslint-plugin@latest @typescript-eslint/parser@latest eslint-config-prettier eslint-plugin-prettier -D
/* NODE */
yarn add eslint-config-airbnb-base@latest eslint-plugin-import@^2.25.2 eslint-plugin-import-helpers@latest eslint-import-resolver-typescript @typescript-eslint/eslint-plugin@latest @typescript-eslint/parser@latest eslint-config-prettier eslint-plugin-prettier -D
@luizwhite
luizwhite / extensionlist.txt
Last active March 6, 2022 02:03
VSCode Extensions list
code --install-extension dbaeumer.vscode-eslint
code --install-extension eamodio.gitlens
code --install-extension ecmel.vscode-html-css
code --install-extension EditorConfig.EditorConfig
code --install-extension esbenp.prettier-vscode
code --install-extension styled-components.vscode-styled-components
code --install-extension mikestead.dotenv
code --install-extension ms-azuretools.vscode-azurefunctions **
code --install-extension ms-azuretools.vscode-azureresourcegroups **
code --install-extension ms-azuretools.vscode-docker **
@luizwhite
luizwhite / keybindings.json
Created October 18, 2021 11:25
VSCode KeyBindings
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+shift+d",
"command": "-workbench.view.debug",
"when": "viewContainer.workbench.view.debug.enabled"
},
{
"key": "ctrl+shift+d",
"command": "editor.action.duplicateSelection"
@luizwhite
luizwhite / settings.json
Last active October 19, 2021 23:21
VSCode Settings
{
"window.menuBarVisibility": "toggle",
"window.zoomLevel": 0,
"workbench.colorTheme": "Aura Dark",
"workbench.iconTheme": "material-icon-theme",
"workbench.editor.labelFormat": "short",
"workbench.editor.wrapTabs": true,
"workbench.productIconTheme": "fluent-icons",