-
-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable rule suggestions #8
Comments
Thank you for the issue!
|
@dferber90 I’d love to hear your thoughts! |
@lydell I've not forgotten about this, I have it on my todo-list. I have been super busy (flew from Munich to Rio on the weekend) and getting set up here took a bit. I'll get back to this! |
Thought I'd add here rather than a new issue. I'm using |
Thanks for the feedback, @jacobp100! Regarding Regarding the |
Oh I see about the parens now—I didn't realise it was so strict by default. And thinking about it, you're right about the spaced comments too! 😂 I didn't realise that there would need to be extra config on top of this—but thinking about it, for some rules you'll always need to decide yourself whether you want to keep it! |
I think I have made up my mind:
|
There's nothing to lose here, only to win. Refs. #8.
Should be fixed in 1.4.0. |
Thank you for taking over, the decisions made sound good! |
As a solution you can use |
In a fairly large codebase I've found these rules to be unnecessary/conflicting when using prettier:
no-spaced-func
Prettier fixes
callback(/* foo */)
tocallback /* foo */()
at which point the rule warns.no-confusing-arrow
withallowParens
optionPrettier removes the brackets which would avoid the error.
react/wrap-multilines
No example here.
no-unexpected-multiline
Prettier transforms
to
At which point the rule warns. But I'd maybe keep it as this can be solved by extracting the stuff into a variable. Wanted to mention it anyways.
Any thoughts on disabling these?
The text was updated successfully, but these errors were encountered: