git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Add .editorconfig file to source repository to maintain a consistent coding style

From
HXHong Xu <dev@hong.me>
Date
Sep 19, 2012, 07:31 UTC
Message-ID
<64033A69-B5AA-461A-80B4-F143E4FC1614@hong.me>
Hi all,
EditorConfig <http://editorconfig.org> is a project that helps developers define and maintain consistent coding styles between different editors and IDEs. The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles. EditorConfig files are easily readable and they work nicely with version control systems.
EditorConfig has been used in many large and famous projects, such as Ruby, jQuery, etc. I think the Git community may also find it useful, since there are some inconsistent indentation in the source code. 
What do you think about this?

Best, Hong

Next: Junio C Hamano
Message 1 of 2 in “Add .editorconfig file to source repository to maintain a consistent coding style”
  1. Hong XuSep 19, 2012
  2. Junio C HamanoSep 19, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.