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

fix: eslint configuration #509

Merged
merged 4 commits into from
Aug 19, 2022
Merged

fix: eslint configuration #509

merged 4 commits into from
Aug 19, 2022

Conversation

anamontiaga
Copy link
Collaborator

@anamontiaga anamontiaga commented Jul 18, 2022

Quick eslint configuration

Description

This PR includes a quick eslint configuration.

I've only reordered some test files to avoid conflicts, but from now on, every file we open will ask to reorder the imports according to the settings.
To make it more comfortable to do so, it is best to configure your vsCode so that when saving they are ordered by themselves. Just added this to your settings.json
"javascript.updateImportsOnFileMove.enabled": "always", "editor.codeActionsOnSave": { "source.fixAll.eslint": true, "source.fixAll.stylelint": true },

  • Keep attention on SKIP_PREFLIGHT_CHECK= variable that needs to add set to true to be able to up the project locally. Not sure if we can avoid it.

  • I've temporarily removed the prop-type rule, but it would be wise to re-enable it and make any necessary modifications so I don't get eslint errors of that kind.

@vercel
Copy link

vercel bot commented Jul 18, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
half-earth ✅ Ready (Inspect) Visit Preview Aug 19, 2022 at 9:03AM (UTC)

@Bluesmile82 Bluesmile82 merged commit 5ffe187 into develop Aug 19, 2022
@Bluesmile82 Bluesmile82 deleted the fix/eslint branch August 19, 2022 14:09
@Bluesmile82 Bluesmile82 restored the fix/eslint branch August 19, 2022 14:09
@Bluesmile82 Bluesmile82 deleted the fix/eslint branch August 19, 2022 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ready to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants