-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
PR: focus-group
support toolbar
#19
PR: focus-group
support toolbar
#19
Conversation
focus-group.js
Outdated
|
||
function getToolbarItems(group) { | ||
let items = [...group.querySelectorAll('*')] | ||
return items.filter((item)=> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Format is not according to Prettier
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previously I used only Editor Config for the project should I install Prettier auto formatter ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Editor Config is for general settings (indent, new line format, etc).
Prettier is about formatting the code, where to add spaces, etc.
I recommend installing it since it is an industry standard nowadays.
But you can keep code formatting manually if you don’t want to install it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prettier is awesome I just clarified the info
Ping me when PR will be ready for review |
@@ -1,4 +1,6 @@ | |||
const ROLES = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update package.json
→size-limit
</div> | ||
</div> | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let’ add a text that button
must have type=button
.
Thanks. Released in 0.6. |
work for the #17