Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Be3y4uu-K0T committed Oct 22, 2024
1 parent 23de220 commit a631bc9
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 4 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

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

[*.rs]
max_line_length = 80

[*.yml]
indent_size = 2
8 changes: 5 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[attr]rust eol=lf whitespace=space-in-ident,trailing-space,indent-size=4
# https://git-scm.com/book/ru/v2/Настройка-Git-Атрибуты-Git
[attr]rust text eol=lf whitespace=space-in-indent,trailing-space,tabwidth=4

*.rs diff=rust
Cargo.lock linguest-genreated=true
* text=auto eol=lf
*.rs rust diff=rust
Cargo.lock linguist-generated=true
31 changes: 30 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,33 @@
/target
# https://git-scm.com/docs/gitignore

## Editor
.vscode/
.vs/
.zed/

## Build
build/
dist/
debug/
target/

## Temporary files
.DS_Store
*~
\#*
\#*\#
.#*

## Tags
tags
tags.*
TAGS
TAGS.*

## direnv
.env
.envrc
.direnv/

# These are backup files generated by rustfmt
**/*.rs.bk

0 comments on commit a631bc9

Please sign in to comment.