-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add bootstrap support editorconfig (#25)
Add support to add editorconfig file to projects with bootstrap command.
- Loading branch information
Showing
2 changed files
with
59 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,53 @@ | ||
# This files was added by a devbox script from our devops tools project and is maintained there: | ||
# https://github.com/onlinecity/devops-tools | ||
# | ||
# The specific editorconfig file is inherited "through generations" of devops teams in OnlineCity, | ||
# so when added as part of devops-tools we don't know they origin of the file, nor the reasons of | ||
# choices in it. | ||
# However it is a good fit with current code base, so we keep it as is for now. | ||
# Bue Petersen added it here, who received the file as addded from Tjalfe Møller who used it together with Adam Tulenius and others - all earlier devops team members. | ||
|
||
# Don't scan for other configs, this is considered our topmost file in the hierarchy | ||
# as we add it to each project. | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_style = space | ||
|
||
[*.py] | ||
indent_size = 4 | ||
|
||
[*.rs] | ||
indent_size = 4 | ||
|
||
[*.go] | ||
indent_size = 8 | ||
indent_style = tab | ||
|
||
[*.cr] | ||
indent_size = 2 | ||
|
||
[*.json] | ||
indent_size = 2 | ||
|
||
[*.{yaml,yml}] | ||
indent_size = 2 | ||
|
||
[*.charset] | ||
insert_final_newline = false | ||
|
||
[*.css] | ||
indent_size = 2 | ||
|
||
[*.html] | ||
indent_size = 2 | ||
|
||
[*.txt] | ||
indent_size = 2 | ||
|
||
[Makefile] | ||
indent_style = tab |
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