Skip to content

Instantly share code, notes, and snippets.

View mendoza's full-sized avatar
🪅
Life is a party and I'm the piñata

David Mendoza mendoza

🪅
Life is a party and I'm the piñata
View GitHub Profile
@mendoza
mendoza / README.md
Created January 10, 2020 06:43
Just a quick README template

[Repo name] made with ❤️,☕ and some 🍺

[here we add the necesary badges, here are the ones I say we always need]

License Issues forks stars size

[short description of the repo]

this app is made for myself

@mendoza
mendoza / eslint and prettier.md
Last active January 10, 2020 08:47
How to set up eslint and prettier on a react project for vs code

Lets install everything

npm install --save-dev babel-eslint eslint eslint-config-airbnb eslint-plugin-react eslint-config-prettier eslint-plugin-prettier prettier

.eslintrc

So we need a file on our react project's root called ".eslintrc". Now here we are going to write as a common JSON file, lots of people have different eslint settings, but I have come to see that this ones are easy and straight forward.