You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a kotlin project in which it's common practice to create files which hold multiple classes. In each of these cases we name the file with a common suffix.
A simple example of this, using the suffix "Things" would be something like:
// FooThings.ktdata classFoo(...)
data classBar(...)
The problem is that we trip the filename rule when there's only one such class in one of these files.
Based on this comment - #237 (comment) - I was hopeful I could add an .editorconfig rule like so to disable the filename error:
[**/*Things.kt]
disabled_rules = filename
However, this doesn't work.
The text was updated successfully, but these errors were encountered:
Version 0.36.0. Your suggestion "worked" in the sense that it disabled the filename rule for every kotlin file. However, the feature I'm looking for is the ability to disable the filename rule for kotlin files that end with a specific suffix (other than simply .kt).
To be clear the following also does not disable the filename rule for full/path/to/FooThings.kt:
I've got a kotlin project in which it's common practice to create files which hold multiple classes. In each of these cases we name the file with a common suffix.
A simple example of this, using the suffix "Things" would be something like:
The problem is that we trip the
filename
rule when there's only one such class in one of these files.Based on this comment - #237 (comment) - I was hopeful I could add an
.editorconfig
rule like so to disable thefilename
error:However, this doesn't work.
The text was updated successfully, but these errors were encountered: