Skip to content

Instantly share code, notes, and snippets.

@darylldoyle
Created August 6, 2020 11:12
Show Gist options
  • Save darylldoyle/f3508aead9d87b01b5f0ae57fd2eb3bd to your computer and use it in GitHub Desktop.
Save darylldoyle/f3508aead9d87b01b5f0ae57fd2eb3bd to your computer and use it in GitHub Desktop.
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
# TS/JS-Files
[*.{ts,js}]
indent_size = 2
# JSON-Files
[*.json]
indent_style = tab
# ReST-Files
[*.rst]
indent_size = 3
# MD-Files
[*.md]
indent_size = 4
# YAML-Files
[*.{yaml,yml}]
indent_size = 2
# package.json
[{package.json}]
indent_size = 2
# TypoScript
[*.{typoscript,tsconfig}]
indent_size = 2
# XLF-Files
[*.xlf]
indent_style = tab
# SQL-Files
[*.sql]
indent_style = tab
indent_size = 2
# .htaccess
[{_.htaccess,.htaccess}]
indent_style = tab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment