Skip to content
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

[JS] use shorthand notation #711

Merged
merged 4 commits into from
Jan 22, 2024
Merged

[JS] use shorthand notation #711

merged 4 commits into from
Jan 22, 2024

Conversation

mishig25
Copy link
Collaborator

@nsarrazin
Copy link
Collaborator

Agree with this, should we specify it in our eslint config directly then to make it easier to catch in the future ? 😁

@mishig25
Copy link
Collaborator Author

added the rule 34da327

@mishig25 mishig25 requested a review from nsarrazin January 19, 2024 17:25
@coyotte508

This comment was marked as outdated.

Copy link
Collaborator

@nsarrazin nsarrazin left a comment

Choose a reason for hiding this comment

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

Nice, thanks!

@mishig25 mishig25 merged commit d5559df into main Jan 22, 2024
3 checks passed
@mishig25 mishig25 deleted the js_obj_syntax branch January 22, 2024 08:49
ice91 pushed a commit to ice91/chat-ui that referenced this pull request Oct 30, 2024
* [JS] use shorthand notation

* add `"object-shorthand": ["error", "always"],`

* fix "Expected method shorthand  object-shorthand"

* format
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.

4 participants