Skip to content

Instantly share code, notes, and snippets.

View luizwhite's full-sized avatar

Luiz Augusto luizwhite

View GitHub Profile
luizwhite / .eslintrc.json
Last active February 26, 2022 18:37
Next.js Eslint Config
View .eslintrc.json
"extends": ["next/core-web-vitals", "plugin:prettier/recommended"],
"plugins": ["import-helpers"],
"rules": {
"import-helpers/order-imports": [
"newlinesBetween": "always",
"groups": [
luizwhite / .eslintrc.json
Last active February 22, 2022 23:37
Node.js Eslint Config
View .eslintrc.json
"env": {
"es2021": true,
"node": true,
"jest": true
"extends": [
luizwhite / .eslintrc.json
Created November 2, 2021 17:23
React Vite Eslint Config
View .eslintrc.json
"env": {
"browser": true,
"es2021": true
"extends": [
luizwhite / .gitignore_global
Created October 24, 2021 21:49
Git Ignore Global File
View .gitignore_global
# editor
# dependencies
# testing
luizwhite / .gitconfig
Created October 24, 2021 21:47
Git Config File
View .gitconfig
excludesfile = ~/.gitignore_global
editor = vim
[color "status"]
added = green
changed = yellow
untracked = red
[color "branch"]
luizwhite / ubuntu-setup.txt
Last active February 10, 2022 10:42
My Ubuntu Initial Setup
View ubuntu-setup.txt
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 / install_eslint_pkgs.txt
Last active February 26, 2022 18:34
Install EsLint Prettier Packages - React/Node
View install_eslint_pkgs.txt
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 / extensionlist.txt
Last active March 6, 2022 02:03
VSCode Extensions list
View extensionlist.txt
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 / keybindings.json
Created October 18, 2021 11:25
VSCode KeyBindings
View keybindings.json
// 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 / settings.json
Last active October 19, 2021 23:21
VSCode Settings
View settings.json
"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",