Skip to content

Character encoding checks trigger on 'Wrong character encoding (_ instead of "")' #505

@CasperRademaker-AbOvo

Description

@CasperRademaker-AbOvo

Great tool!

Since release 3.5.0 which seems to include file character encodings checks, I'm getting a few findings that are seemingly false positives:

> ec .

.editorconfig:
	Wrong character encoding ("Ascii" instead of "")
readme.md:
	Wrong character encoding ("UTF-8" instead of "")

my .editorconfig:

[*]
insert_final_newline = true

[*.{js,json,json5,ts,ps1,py,sql,tsql,yaml,yml}]
charset = utf-8
indent_style = space
trim_trailing_whitespace = true

[*.{md}]
charset = utf-8
indent_style = space

[*.py]
indent_size = 4

[*.{js,ts}]
indent_size = 2

The detected encodings seem correct (ascii and UTF-8), but it is compared against an undefined expected encoding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buga bug which occured

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions