Skip to content

Conversation

@hi-ogawa
Copy link
Contributor

@hi-ogawa hi-ogawa commented Oct 23, 2025

Description

Just interested to try it out since I still don't use eslint for packages/plugin-rsc, so there's no import sorting there. It looks like the diff is only from import sorting.

Probably things to check:

  • import sorting (probably current default order is wrong)
  • ignore files
  • lint staged
  • ide setup (if anyone is specific auto save setup)

@@ -1,6 +1,6 @@
import { App } from './App.tsx'
Copy link
Member

Choose a reason for hiding this comment

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

It feels weird for me

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, we need to wait for proper import sorting. It looks like it's only sorting by string, so relative import comes first . < @ < a.

import reactLogo from './react.svg'
import './App.css'
import { TitleWithExport, framework } from './TitleWithExport.tsx'
import './App.css'
Copy link
Member

@ArnaudBarre ArnaudBarre Oct 23, 2025

Choose a reason for hiding this comment

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

Not really fan of plugins that re-order side-effect imports

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.

3 participants