Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anytv/editorconfig
https://github.com/anytv/editorconfig
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/anytv/editorconfig
- Owner: anyTV
- Created: 2015-12-13T02:48:21.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-14T02:39:41.000Z (about 9 years ago)
- Last Synced: 2024-05-21T07:17:50.648Z (8 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
EditorConfig
===
**.editorconfig** for every project.#What is EditorConfig
> EditorConfig 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.
-- [http://editorconfig.org](http://editorconfig.org/)#What is in the configuration?
- **Default**
- charset = utf-8
- end_of_line = lf
- trim_trailing_white_space = true
- insert_final_new_line = true
- **Javascript/NodeJS** [reference](https://github.com/anyTV/JS-conventions#manifesto)
- indent_style = space
- indent_style = 4
- **Python** [reference](https://github.com/anyTV/Python-conventions#code-layout)
- indent_style = space
- indent_style = 4
- **PHP** [reference](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md#1-overview)
- indent_style = space
- indent_style = 4
- **HTML File**
- indent_style = space
- indent_style = 4
- **Bash** [reference](https://google.github.io/styleguide/shell.xml?showone=Indentation#Indentation)
- indent_style = space
- indent_style = 2
- **Markdown**
- trim_trailing_whitespace = false
- indent_style = space
- indent_size = 4
- **GO lang** [reference](https://golang.org/cmd/gofmt/)
- indent_style = tab
- **Makefile**
- indent_style = tab
- **.ini File**
- indent_style = space
- indent_style = 4
- **.json File**
- indent_style = space
- indent_style = 2
- **.yml File**
- indent_style = space
- indent_style = 2
- **.babelrc**
- indent_style = space
- indent_style = 2#How to use?
- Copy .editorconfig from this repository to the root of your project repository.
- Install EditorConfig plugins for your repository. You can get the plugins [here](http://editorconfig.org/#download).