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

Sort imports using eslint-plugin-simple-import-sort #3189

Merged
merged 7 commits into from
Mar 20, 2024
Merged

Conversation

mozzius
Copy link
Member

@mozzius mozzius commented Mar 12, 2024

Did some spot checking, seems ok

There's an option to use regex to manually sort the imports, if we're not happy with the default order

.eslintrc.js Outdated Show resolved Hide resolved
@mozzius
Copy link
Member Author

mozzius commented Mar 18, 2024

Maybe should it be set to warn instead of error so that the checks pass? I think the auto-fix will still catch it

Copy link

The Pull Request introduced fingerprint changes against the base commit: 877eab0

Fingerprint diff
[
  {
    "type": "file",
    "filePath": "package.json",
    "reasons": [
      "expoConfigPlugins"
    ],
    "hash": "951daed92277bf0c7cbda22a9c494650dd8a36cd"
  }
]

Generated by PR labeler 🤖

Copy link
Member

@estrattonbailey estrattonbailey left a comment

Choose a reason for hiding this comment

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

Hells yeah, this is awesome 🔥

@mozzius mozzius merged commit 81bc3ed into main Mar 20, 2024
5 checks passed
@mozzius mozzius deleted the samuel/sort-imports branch March 20, 2024 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants