ktlint icon indicating copy to clipboard operation
ktlint copied to clipboard

Introduce a new rule for naming style

Open shyiko opened this issue 8 years ago • 5 comments

This ticket is a parent for #27 #28 (PR available) #29 proposed by @iggymoran.

shyiko avatar May 28 '17 08:05 shyiko

Caution: these might not play well with kotlin-native (see https://github.com/JetBrains/kotlin-native/tree/master/samples).

shyiko avatar May 30 '17 06:05 shyiko

I have a few questions here @shyiko.

  1. Could you elaborate a little on why these rules might not play well with Kotlin Native?
  2. Is the current direction to make all of these name checks into a single rule, or would it be better that these are distinct rules?
  3. Would you consider adding a rule for constant values being UPPER_SNAKE_CASE?

jzbrooks avatar Sep 01 '18 16:09 jzbrooks

Any updates on that? @shyiko @iggymoran @jzbrooks

otaviocarvalho avatar Jul 09 '19 08:07 otaviocarvalho

Any update on this rule ? @shyiko

rajalamourya avatar Jul 02 '20 22:07 rajalamourya

The current naming rule conventions seem quite clear and unambiguous. Some simple rules can be extracted quite simply from those conventions.

paul-dingemans avatar Jun 27 '22 19:06 paul-dingemans