https://kotlinlang.org logo
Title
d

Dennis Titze

08/12/2021, 11:51 AM
Hi all, I'm building a linter to learn & experiment, and I'm wondering if there are style or other guidelines you feel are relevant but not enforced by linters because it's more on the semantic than syntactic level? I read through this channel quite a bit already, but now I am wondering if there are topics similar to tabs vs. spaces where you have strong (and maybe different) opinions.
j

James Whitehead

08/12/2021, 1:54 PM
Off the top of my head two examples I could think of would be; • Trailing commas in parameter lists, arrays/lists etc. • Star imports vs single name imports
d

Dennis Titze

08/12/2021, 5:13 PM
Ah, that is more on the syntax level. I thought more in the lines of If a class has annotation
XY
, each method must be named
...Z
and not return anything. Is sth like that (I.e., sth more complex) relevant to you?