Skip to content

Conversation

@Brianzchen
Copy link
Contributor

@Brianzchen Brianzchen commented Jul 31, 2021

Closes #468

cc: @gajus @angelica-bocanegra

export default {
invalid: [
// Never
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to have some tests when there object has multiple properties

Copy link
Contributor Author

@Brianzchen Brianzchen Aug 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I can, just to note though this rule does not cater to multi-lining multiple properties, that'll be handled by a separate rule hopefully in the near future just like standard objects https://eslint.org/docs/rules/object-property-newline.

Edit: found some bug behaviour, will fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rule for object curly brace new line

2 participants