Closed jp-ryuji closed 10 months ago
Is it only the one place where it fails? could use a comment that tells the formatter to ignore the line or lines? and then you could have dangling commas in all the other places ...?
@chatch
Is it only the one place where it fails? could use a comment that tells the formatter to ignore the line or lines? and then you could have dangling commas in all the other places ...?
It seems to be the one place only. But I can't fix it quickly. It's hard to explain, but you can see what it is like by executing the following on the master branch.
@chatch
Wait. I think I can fix this by referring to the change in this PR: https://github.com/chatch/stellarexplorer/pull/547/files .
@jp-ryuji i'm not seeing this error. i can npm run dev
without any issues.
running node v18.17.0
though not sure if it's related.
This PR was superseded by https://github.com/chatch/stellarexplorer/pull/549
Applied the linter with
npm run lint:fix
. Then got the following error onnpm run dev
. The server is up and running though.Realized a comma is added to a weird place due to the
"comma-dangle": ["warn", "always-multiline"]
eslint config. Removed it (then the default prettier rule is applied), then the error has gone.