Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(setup): added lint staged config file #9

Merged

Conversation

gabepinheiro
Copy link
Contributor

@gabepinheiro gabepinheiro commented Jun 28, 2023

O next lint (eslint) estava quebrando na execução do lint-staged. O problema encontrado é o mesmo relatado aqui: vercel/next.js#33096.

O erro que eu estava recebendo:
Captura de tela de 2023-06-28 12-55-17

Solução: https://nextjs.org/docs/pages/building-your-application/configuring/eslint#lint-staged

Aproveitei também e configurei o type-check no lint-staged: https://github.com/okonet/lint-staged#example-run-tsc-on-changes-to-typescript-files-but-do-not-pass-any-filename-arguments

@fdaciuk @vmarcosp

@fdaciuk
Copy link
Collaborator

fdaciuk commented Jun 28, 2023

Boa @gabepinheiro! Valeu mano 👏🏾 💃🏾 ✨

@fdaciuk fdaciuk merged commit 562135a into codeinthedarkbrasil:main Jun 28, 2023
1 check passed
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.

None yet

2 participants