Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added .editorconfig file to force editor settings for certain file ty…
…pes (#3334)
- Loading branch information
1 parent
a05ed6e
commit 3165e52
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# rAthena EditorConfig file | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
# This file should be encoded in UTF-8 with CRLF or LF line endings. | ||
|
||
root = true | ||
|
||
# Add a blank newline to the end of every file after saving | ||
# Trim trailing whitespace | ||
[*] | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
# YAML does not support hard tabs. | ||
[*.{yml,yaml}] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# Use tabs in Makefiles | ||
[Makefile*] | ||
indent_style = tab | ||
|
||
# Scripts should use hard tabs to prevent script header goofs. | ||
[npc/**.txt] | ||
indent_style = tab |