Last active
June 24, 2017 01:46
-
-
Save davidsylvestre/926edd1f4d0856f6c3608560e5ec1136 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # EditorConfig is awesome: http://EditorConfig.org | |
| # top-most EditorConfig file | |
| root = true | |
| # Unix-style newlines with a newline ending every file | |
| [*] | |
| end_of_line = lf | |
| insert_final_newline = true | |
| charset = utf-8 | |
| # CSS - https://developer.mozilla.org/ja/docs/Web/CSS | |
| # Sass(SCSS) - http://sass-lang.com/ | |
| # Stylus - https://learnboost.github.io/stylus/ | |
| # SugarSS - https://github.com/postcss/sugarss#readme | |
| [*.{css,scss,styl,sss}] | |
| indent_style = space | |
| indent_size = 2 | |
| trim_trailing_whitespace = true | |
| # golang - https://golang.org/doc/effective_go.html?h=Indentation | |
| [8.go] | |
| indent_style = tab | |
| indent_size = 4 | |
| # Handlebars.js - http://handlebarsjs.com/ | |
| [*.hbs] | |
| indent_style = space | |
| indent_size = 2 | |
| # JavaScript - https://developer.mozilla.org/ja/docs/Web/JavaScript | |
| # TypeScript - https://www.typescriptlang.org/ | |
| # CoffeeScript - http://coffeescript.org/ | |
| [*.{js,ts,coffee}] | |
| indent_style = space | |
| indent_size = 2 | |
| # JSON - http://json.org/ | |
| # Composer - https://getcomposer.org/doc/04-schema.md | |
| [{*.json,composer.lock}] | |
| indent_style = space | |
| indent_size = 4 | |
| # NPM - https://docs.npmjs.com/files/package.json | |
| # Stylint - https://rosspatton.github.io/stylint/ | |
| [{package.json,.stylintrc}] | |
| indent_style = space | |
| indent_size = 2 | |
| # PHP - http://php.net/ | |
| [*.php] | |
| indent_style = space | |
| indent_size = 4 | |
| # Python - https://www.python.org/ | |
| [*.py] | |
| indent_style = space | |
| indent_size = 4 | |
| # Ruby - https://www.ruby-lang.org/ | |
| # Rake - https://github.com/ruby/rake | |
| [{*.rb,*.rake,Rakefile}] | |
| indent_style = space | |
| indent_size = 2 | |
| # Shell script (bash) - https://www.gnu.org/software/bash/manual/bash.html | |
| [*.sh] | |
| indent_style = space | |
| indent_size = 4 | |
| # SQL (MySQL) - https://www.mysql.com/ | |
| [*.sql] | |
| indent_style = space | |
| indent_size = 2 | |
| # Smarty 2 -http://www.smarty.net/docsv2/en/ | |
| [*.tpl] | |
| indent_style = space | |
| indent_size = 4 | |
| # XHTML - http://www.w3.org/TR/xhtml1/ | |
| [*.xhtml] | |
| indent_style = space | |
| indent_size = 4 | |
| # YAML - http://yaml.org/ | |
| [{*.yml,*.yaml}] | |
| indent_style = space | |
| indent_size = 2 | |
| # p(ixi)v | |
| # https://github.com/pixiv/.editorconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment