Scony / godot-gdscript-toolkit

Independent set of GDScript tools - parser, linter, formatter, and more
MIT License
944 stars 65 forks source link

`gdlint`: `mixed-tabs-and-spaces` false detection on text blocks #276

Open MikeSchulze opened 7 months ago

MikeSchulze commented 7 months ago

Hi, I use very often text blocks to better format my inline text/templates.

Looks like gdlint do not handle text blocks.

var test := """
    Hello World
      this is a message
    """

error:

example.gd:4: Error: Mixed tabs and spaces (mixed-tabs-and-spaces)
Failure: 1 problem found
Scony commented 7 months ago

Yes, that's a bug.