Skip to content

max_line_length in .editorconfig is ignored for lint action #272

Description

@blabdouze

Linting with gdscript-formatter should take into account the max_line_length in .editorconfig.

If I try to lint this file :

# 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

I have the following output :

$> gdscript-formatter lint src\sandbox\test.gd
src\sandbox\test.gd:1:max-line-length:warning: Line is too long. Found 120 characters, maximum allowed is 100

With the following .editorconfig :

root = true

[*]
charset = utf-8

[*.gd]
max_line_length = 120

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions