iamcco / iamcco/diagnostic-languageserver
Applying multiple formatters in sequence
- Dominant language
- TypeScript
- Stars
- 439
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
From the documentation I see that `formatFiletypes` can take an array of formatters for each file type, but from a very cursory reading of the code it seems like they are run async.
My use case is that I would like to run Prettier, and only then ESLint (kind of like [prettier-eslint](https://github.com/prettier/prettier-eslint-cli) does, but without using it.
Is something like that possible?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by comparing the documentation for formatFiletypes with the formatter implementation, focusing on how an array of formatters is scheduled. Check whether Prettier followed by ESLint is supported, and define completion as a confirmed sequential behavior or a clearly documented limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- eslint, typescript
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100