Skip to content

Add .editorconfig#1899

Open
marcofranssen wants to merge 1 commit into
kagent-dev:mainfrom
marcofranssen:editorconfig
Open

Add .editorconfig#1899
marcofranssen wants to merge 1 commit into
kagent-dev:mainfrom
marcofranssen:editorconfig

Conversation

@marcofranssen
Copy link
Copy Markdown
Contributor

@marcofranssen marcofranssen commented May 20, 2026

This prevents all kind of whitespacing differences accross many files which I already fixed here and there in the files I touched.

Go and Makefile

  • tabs
  • width 4

Python

  • spaces
  • width 4 following PEP8

Rest

  • spaces
  • 2

Follows practices for yaml,js,shell,ts etc etc.

Note

Build failure isn't caused by this PR, seems to be broken from main or intermittent.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an .editorconfig at the repo root to standardize basic whitespace and file encoding/newline behavior across editors, aiming to reduce incidental formatting diffs across the codebase.

Changes:

  • Introduces .editorconfig with repo-wide defaults for EOL (lf), charset (utf-8), trimming trailing whitespace, and final newline insertion.
  • Sets a global indentation style/size.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .editorconfig
@marcofranssen marcofranssen force-pushed the editorconfig branch 3 times, most recently from d66c92c to 07a9cd3 Compare May 20, 2026 19:09
This prevents all kind of whitespacing differences accross many files which I already fixed here and there in the files I touched

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants