Skip to content

Commit

Permalink
Remove annoying comments in EditorConfig
Browse files Browse the repository at this point in the history
I shouldn't be using GitHub while under the influence of Stilnox...
  • Loading branch information
Alhadis committed Nov 14, 2018
1 parent 7bd2886 commit 8ad8019
Showing 1 changed file with 17 additions and 23 deletions.
40 changes: 17 additions & 23 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,38 +1,32 @@
root = true

[*]
indent_style = tab
indent_size = 4
tab_width = 4
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = false

# Note these two lines simply tell GitHub to stop using
# 8-column tab-widths when it's so damn easy for them to
# add a repository setting which controls this.

indent_size = 4
indent_style = tab

# If you work on my projects, feel free to set your tabs
# to whatever width you're actuakkky most comfortable with:
# just don't save them to spaces, because that's the part when
# you become another mindles tab-hater who can't explain why.

[*.{yml,yaml}]
quote_type = double
curly_bracket_next_line = false
spaces_around_operators = false
spaces_around_brackets = none
indent_brace_style = K&R

[.git/COMMIT_EDITMSG]
max_line_length = 72
indent_style = space
indent_size = 4


# Two lone exceptions to the "Tabs-only/tabs-always" rules:

# 1. You're writing in Lisp or any one of its major dialects (including Scheme, but not WebAssembly)
[*.{el,elc,eld,spacemacs,_emacs,emacs,emacs.desktop,abbrev_defs,Project.ede,gnus,viper}]
[*.{cl,el,emacs,lisp,lsp,scm}]
trim_trailing_whitespace = true
indent_style = space
indent_size = 2

[*.{bat,cmd}]
end_of_line = crlf

# 2. You're formatting a code-block for your commit message, which I'm damn hoping
# toy'll add something of insightful enough that it couldn't be adequately
# explained by prose alone.
#
[*.{yml,yaml}]
indent_style = space
indent_size = 4

0 comments on commit 8ad8019

Please sign in to comment.