mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-13 18:32:54 +00:00
Backport #36002 Permission & protection check: - Fix Delete Release permission check - Fix Update Pull Request with rebase branch protection check - Fix Issue Dependency permission check - Fix Delete Comment History ID check Information leaking: - Show unified message for non-existing user and invalid password - Fix #35984 - Don't expose release draft to non-writer users. - Make API returns signature's email address instead of the user profile's. Auth & Login: - Avoid GCM OAuth2 attempt when OAuth2 is disabled - Fix #35510 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
37 lines
663 B
INI
37 lines
663 B
INI
root = true
|
|
|
|
[*]
|
|
indent_style = space
|
|
indent_size = 2
|
|
tab_width = 2
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[*.{go,tmpl,html}]
|
|
indent_style = tab
|
|
|
|
[go.*]
|
|
indent_style = tab
|
|
|
|
[templates/custom/*.tmpl]
|
|
insert_final_newline = false
|
|
|
|
[templates/swagger/v1_json.tmpl]
|
|
indent_style = space
|
|
insert_final_newline = false
|
|
|
|
[templates/user/auth/oidc_wellknown.tmpl]
|
|
indent_style = space
|
|
|
|
[templates/shared/actions/runner_badge_*.tmpl]
|
|
# editconfig lint requires these XML-like files to have charset defined, but the files don't have.
|
|
charset = unset
|
|
|
|
[Makefile]
|
|
indent_style = tab
|
|
|
|
[*.svg]
|
|
insert_final_newline = false
|