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

fix(codestyle): Enforce no space before function parenthesis #901

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Feb 16, 2025

As per code style: https://docs.nextcloud.com/server/latest/developer_manual/getting_started/coding_standards/javascript.html#code-style

Good:

  • function foo() {}
  • function() {}
  • foo()

Bad:

  • function foo () {}
  • function () {}
  • foo ()

@susnux susnux added bug Something isn't working 3. to review labels Feb 16, 2025
Good:
- `function foo() {}`
- `function() {}`
- `foo()`
- `async () => {}`

Bad:
- `function foo () {}`
- `function () {}`
- `foo ()`
- `async() => {}`

Signed-off-by: Ferdinand Thiessen <[email protected]>
@skjnldsv skjnldsv merged commit 2ce1c37 into main Feb 18, 2025
10 checks passed
@skjnldsv skjnldsv deleted the fix/function-call branch February 18, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants