This repository was archived by the owner on Jan 7, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
This repository was archived by the owner on Jan 7, 2026. It is now read-only.
Migrate from standard to neostandard + Prettier #166
Copy link
Copy link
Open
Description
I used to be a long-time Eslint+Prettier user. I was honestly trying to learn to like Standard that we are using in our repos, but I am frustrated about many papercuts:
- Most importantly, Standard does not allow trailing commas in arrays & object literals. I am frustrated by this several times a day. Require trailing commas in multiline object and array literals? standard/standard#240
- Standard allows multiple ways how to format the same code snippet. I cannot rely on "format-on-save", often I have to clean up the formatting manually.
- The development of Standard has stalled, see the discussion in Maintenance & Governance of standard standard/standard#1948
- Standard does not support linting
.d.tsfiles
I propose we make the following changes:
- Adopt https://github.com/neostandard/neostandard with
noStyleoption enabled - Evaluate Prettier and dprint, pick one of them for formatting
Decision
We decide to use neostandard and Prettier.
Repositories to update
- CheckerNetwork/site-backend
- CheckerNetwork/node
- CheckerNetwork/spark-checker
- CheckerNetwork/spark-api
- CheckerNetwork/spark-evaluate
- CheckerNetwork/spark-impact-evaluator
- CheckerNetwork/fil-deal-ingester
- CheckerNetwork/spark-stats
- CheckerNetwork/spark-participants
- CheckerNetwork/meridian-cli
- CheckerNetwork/piece-indexer
- CheckerNetwork/spark-evaluations-recent-participants
- CheckerNetwork/utils
- CheckerNetwork/cancel-stuck-transactions
- CheckerNetwork/spark-deal-observer
- CheckerNetwork/spark-rsr-contract
- CheckerNetwork/spark-stats-request-metrics
- CheckerNetwork/spark-spot-check
- CheckerNetwork/index-provider-peer-id
- CheckerNetwork/assert-ok-response
Archived repositories - no action needed
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
🏗 in progress