Closed zawarudo closed 2 months ago
Thank you for this detailed error reporting. Indeed, it seems we need to disable both rules: 'import/order' and 'sort-imports'
This is something new, I totally rebuild all the eslint configuration from scratch with the new flat config.
Thank you for reporting and opening the PR. I just merge it!
Hello @ixartz
After the recent PR #297 I found there are some conflicting rules still that cause the linter to not be able to resolve / auto fix no matter how you format it.
Changing the rule like so seemed to resolve the conflict.
I've made a branch reproducing the issue and the fix. https://github.com/zawarudo/Next-js-Boilerplate/tree/setup/lint-sort-conflicts-repoduction
How to reproduce.
Open
src/components/ui/button
and note the lint errors as in the screenshot.I've opened a PR for this, thanks!