Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Benjamin J. Thompson
Tor
Commits
dd69e74e
Commit
dd69e74e
authored
6 years ago
by
juga
Committed by
Nick Mathewson
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add .editorconfig to follow coding standards style
parent
ef671147
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.editorconfig
+33
-0
33 additions, 0 deletions
.editorconfig
with
33 additions
and
0 deletions
.editorconfig
0 → 100644
+
33
−
0
View file @
dd69e74e
# this should work for all editors that support .editorconfig!
#
# on debian, emacs users should install elpa-editorconfig and vim
# users should install vim-editorconfig.
root
=
true
[*]
indent_style
=
space
# this remove final newline in some editors, instead of inserting it
# insert_final_newline = true
trim_trailing_whitespace
=
true
end_of_line
=
lf
charset
=
utf-8
max_line_length
=
79
[*.py]
indent_size
=
4
# to do not have final newline in python code
insert_final_newline
=
true
[*.c, *.h]
# done in tests and other cases do not use 2 spaces identations, so this
# should be commented on those cases
indent_size
=
2
trim_trailing_whitespace
=
true
[Makefile, *.am]
indent_style
=
tab
[*-spec.txt]
# specs seem to have 76 chars max per lines as RFCs
max_line_length
=
76
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment