dart_custom_lint icon indicating copy to clipboard operation
dart_custom_lint copied to clipboard

Fixes lingering issues to support workspaces in CLI

Open Rexios80 opened this issue 5 months ago • 7 comments

See https://github.com/invertase/dart_custom_lint/issues/298#issuecomment-2775420367

Rexios80 avatar Jun 23 '25 18:06 Rexios80

@Rexios80 is attempting to deploy a commit to the Invertase Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Jun 23 '25 18:06 vercel[bot]

To view this pull requests documentation preview, visit the following URL:

docs.page/invertase/dart_custom_lint~336

Documentation is deployed and generated using docs.page.

docs-page[bot] avatar Jun 23 '25 18:06 docs-page[bot]

Hello there! We'll need tests, as per usual :)

rrousselGit avatar Jun 24 '25 01:06 rrousselGit

I am trying to write a test, but having a hard time getting it to work. This PR is more of a refactor than added functionality. The only code that might be questionable is adding followLinks: false since I thought there was already handling somewhere for that, but I was getting crashes in the ios symlinks folders.

Rexios80 avatar Jun 24 '25 21:06 Rexios80

Well if it's fixing something, we need a regression test for it.

rrousselGit avatar Jun 24 '25 21:06 rrousselGit

Do you have any suggestions for where the test should go and other tests I should base it on?

Rexios80 avatar Jun 24 '25 21:06 Rexios80

Depends on how you want to implement the test.

I'm not fully understanding the issue that is being fixed here, so I don't know. But you can always write a e2e test and place it next to the other ones (the ones that start a process)

rrousselGit avatar Jun 24 '25 21:06 rrousselGit

@rrousselGit Finally figured out a test for this

Rexios80 avatar Aug 14 '25 20:08 Rexios80

@rrousselGit Do you need anything more from me on this? Would like to get this merged soon so I can stop maintaining my own branch.

Rexios80 avatar Sep 09 '25 18:09 Rexios80

@rrousselGit can we please merge this?

Rexios80 avatar Sep 29 '25 19:09 Rexios80

@Rexios80 Looks like you have some tests that failed. I assume those should be fixed if you want the PR merged.

cosminbodnariuc avatar Oct 14 '25 17:10 cosminbodnariuc

The server_test fails on main, and the other tests all pass locally.

@rrousselGit I understand you being uninterested in maintaining this project because of major changes to the dart linting system, but many people and major packages are actively using it. I would be happy to take over if you gave me permissions. Otherwise I am seriously considering publishing my own fork which is not ideal since it fractures the ecosystem.

Rexios80 avatar Oct 17 '25 14:10 Rexios80

It looks like we are finally getting the new plugin system: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#analyzer

Rexios80 avatar Nov 05 '25 21:11 Rexios80