Skip to content

Add style guide configurations - #51

Merged
filipedeschamps merged 7 commits into
BrasilAPI:developmentfrom
RaphaelOliveiraMoura:master
Jun 26, 2020
Merged

filipedeschamps merged 7 commits into
BrasilAPI:developmentfrom
RaphaelOliveiraMoura:master

Conversation

@RaphaelOliveiraMoura

Copy link
Copy Markdown
Contributor
  • Add ESLint + Prettier + EditorConfig setup
  • Integration with Prettier and ESLint configurations
  • Add script to linting in package.json npm run fix

The style guides was based on airbnb guides.

- Add ESLint file setup (.eslintrc.js)
- Add ESLint ignore file configs (.eslintignore)
- Add Prettier configurations
- Add EditorConfig to setup differents IDEs
- Add package.json script to run linting (npm run fix)
- Add eslint configuration to can create a file without a export default statement
- Fix all files with `npm run fix` script
- Fix some files manually to follow the style guide
@vercel

vercel Bot commented Apr 20, 2020 •

Copy link
Copy Markdown

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/brasilapi/brasilapi/mr1kc0tpx
✅ Preview: https://brasilapi-git-fork-raphaeloliveiramoura-master.brasilapi.vercel.app

@lucianopf lucianopf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Primeiramente parabéns pelo PR manão, um puta trabalho pra fazer todas essas correções e manter um padrão pro projeto! 👏 🚀 .

Deixei duas dúvidas mas fora elas tudo me parece perfeito e assim que tiver as respostas já me sinto confortável de dar o querido ✅ 😬

Comment thread .editorconfig Resolved
Comment thread package.json Resolved
Comment thread package.json Resolved
@filipedeschamps
filipedeschamps changed the base branch from master to development June 26, 2020 15:47
@filipedeschamps
filipedeschamps merged commit 82f4c51 into BrasilAPI:development Jun 26, 2020
@filipedeschamps

Copy link
Copy Markdown
Member

Pessoal, estou fazendo o merge para darmos continuidade e inclusive depois analisar o linter universal do Github 👍

This branch was successfully deployed

1 active deployment
Preview — 73a56715 Deployed Jun 15, 2020 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants