Skip to content

[Question] The .editorconfig disable role is configurated and still used #324

Closed
@Numichi

Description

@Numichi

Why not disable the filename Ktlint role from the standard role set?

build.gradle.kts

plugins {
    id("org.jmailen.kotlinter") version "3.14.0"
}

.editorconfig

[*]
indent_size = 4
indent_style = space
trim_trailing_whitespace = false
insert_final_newline = true
max_line_length = 180

[*.{kt,kts}]
ktlint_standard = enabled
ktlint_experimental = enabled
ktlint_standard_filename = disabled

And filename role will be run, and I get: Lint error > [filename] File name mapping.kt' should conform PascalCase.

I tried to configure it from https://pinterest.github.io/ktlint/rules/configuration-ktlint/#disabled-rules

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions