8000 editorconfig exists but is not strictly followed. · Issue #14485 · Kong/kong · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
editorconfig exists but is not strictly followed. #14485
Open
@spacewander

Description

@spacewander

For example, the editorconfig requires that each file end with a newline:

insert_final_newline = true

However, many files (even the Lua codes) don't end with a newline. This causes an issue: when a developer uses an editor that strictly follows the editorconfig to update a Lua file, an extra newline is added automatically.

Maybe we can relax some editorconfig rules that are hard to follow and use some linters like github.com/editorconfig-checker/editorconfig-checker to lint the files in CI, to ensure the rules are actually followed?

Metadata

Metadata

Assignees

Labels

choreNot part of the core functionality of kong, but still needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0