Skip to content

Instantly share code, notes, and snippets.

@kubadlo
Last active February 3, 2018 16:39
Show Gist options
  • Save kubadlo/cbd77cfee4f73e079fd5d71ff6473b8b to your computer and use it in GitHub Desktop.
Save kubadlo/cbd77cfee4f73e079fd5d71ff6473b8b to your computer and use it in GitHub Desktop.
Java project defaults
# Top most editorconfig
root = true
# General configuration
[*]
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Configuration files
[*.{json,yml}]
indent_style = space
indent_size = 2
# Documentation
[*.md]
trim_trailing_whitespace = false
# General
* text=auto
# Source files
*.css text
*.html text
*.java text
*.js text
*.json text
*.properties text
*.sass text
*.scss text
*.sh text eol=lf
*.sql text
*.txt text
*.ts text
*.xml text
*.yaml text
*.yml text
# Configuration files
.editorconfig text
.gitattributes text
.gitconfig text
.gitignore text
# Documents
*.markdown text
*.md text
*.csv text
*.txt text
AUTHORS text
CHANGELOG text
CONTRIBUTING text
INSTALL text
LICENSE text
NEWS text
*README* text
# Fonts
*.ttf binary
*.eot binary
*.otf binary
*.woff binary
*.woff2 binary
# Images
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.svg binary
### Gradle ###
.gradle
/build/
!gradle/wrapper/gradle-wrapper.jar
### NodeJS ###
node_modules/
npm-debug.log.*
### IntelliJ IDEA ###
.idea
/out/
*.iws
*.iml
*.ipr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment