You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the detailed issue! It's unlikely I'll have time to dedicate to hunting down the core issue. If you could do a little more digging and propose a solution that would be helpful. Thanks!
...giving the destructured object a default value. (made that change but the jest --coverage kept failing and I'm not familiar with the underlying test suites and how to quickly fix the coverage test, but happy to dig through that if you have a few pointers).
The larger question is about error handling. I got here from this issue: prettier/prettier-atom#231 (comment) , an atom-plugin. prettier-eslint was throwing an error that bubbled through the plugin and was a little bit hard to decipher. Part of the problem being a missing stack trace in the recent versions of Atom and/or the plugin.
What do you think about an error handling system that produces slightly more verbose or even "human readable" messages (e.g. especially useful for Atom users)?
Versions:
prettier-eslint
version: 4.1.1node
version: v8.1.2npm
(oryarn
) version: npm 5.0.4Have you followed the debugging tips?
Yes
Relevant code or config
What I did:
What happened:
Reproduction repository:
git@github.com:zyy7259/prettier-foo.git
Problem description:
comma-dangle
"off" with object option is not working properly.Run
prettier-eslint index.js --log-level trace
in the root dir.The input is
The output is
just the same
, with the redundant comma.Then I search
"comma-dangle"
(with quotation mark) in the terminal, and found some log.I guess maybe the config is wrong, there is a redundant object option.
Then I change the .eslintrc.json to (I create a branch
fix
to demo this step)and run
prettier-eslint index.js --log-level trace
again, this time the output is right. Search"comma-dangle"
again, gotSuggested solution:
Not sure if this is a issue with
prettier-eslint
The text was updated successfully, but these errors were encountered: