Skip to content

Instantly share code, notes, and snippets.

@falkoschumann
Last active April 16, 2024 16:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save falkoschumann/da97248ab830fb6abeef8bb395af6971 to your computer and use it in GitHub Desktop.
Save falkoschumann/da97248ab830fb6abeef8bb395af6971 to your computer and use it in GitHub Desktop.
Common files for a new project.
# EditorConfig is awesome: https://EditorConfig.org
# Based on following Google Style Guides:
# - C++: https://google.github.io/styleguide/cppguide.html
# - C#: https://google.github.io/styleguide/csharp-style.html
# - Go: https://google.github.io/styleguide/goguide.html
# - HTML/CSS: https://google.github.io/styleguide/htmlcssguide.html
# - JavaScript: https://google.github.io/styleguide/jsguide.html
# - Java: https://google.github.io/styleguide/javaguide.html
# - Python: https://google.github.io/styleguide/pyguide.html
# - Shell: https://google.github.io/styleguide/shellguide.html
# - TypeScript: https://google.github.io/styleguide/tsguide.html
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 80
[*.{md,py}]
indent_size = 4
[*.{cs,java,yaml}]
max_line_length = 100
[*.{bat,cmd}]
end_of_line = crlf
charset = latin1
[*.{csv,sln}]
end_of_line = crlf
[*.{html,xml,jsx,tsx}]
max_line_length = 250
[{Makefile,*.mk,*.go}]
indent_style = tab
indent_size = 4
# https://help.github.com/articles/dealing-with-line-endings/
* text=auto eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf
*.csv text eol=crlf
*.sln text eol=crlf
# see also https://gitignore.io
data/
dist/
tmp/
vendor/
# Gradle
.gradle/
build/
# Node
coverage/
node_modules/
junit.xml
# Python
__pycache__/
# Eclipse
.settings/
bin/
.project
.classpath
*.launch
# IntelliJ IDEA
.idea/
out/
# VS Code
.vscode/
# Mac OS
.DS_Store
# Windows
Thumbs.db

Project Name

Project description

Installation

Usage

Contributing

License

Project license

Credits

Licenses of dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment