Join Slack
Powered by
Hi, Is there a opposite of this rule? <https://det...
# detekt
a
Abhimanyu
05/12/2024, 7:05 PM
Hi, Is there a opposite of this rule?
https://detekt.dev/docs/rules/style/#expressionbodysyntax
i.e: Non-compliant
Copy code
fun stuff() = 5
Compliant
Copy code
fun stuff(): Int { return 5 }
b
Brais Gabin
05/12/2024, 8:10 PM
So, that it always forbid expression functions?
👌 1
Brais Gabin
05/12/2024, 8:11 PM
No, there is not
🆗 1
a
Abhimanyu
05/13/2024, 5:26 AM
👌
a
Atul Gupta
08/20/2024, 12:30 PM
You can create issue for this if not exists already
2
Views
Open in Slack
Previous
Next