Skip to content

Commit

Permalink
Chore: Add style constraints (yhwu-is#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
45gfg9 authored Jul 6, 2023
1 parent fee9f9f commit 04735df
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
root=true
root = true

[*.tex, *.md]

Expand All @@ -7,3 +7,6 @@ end_of_line = lf

insert_final_newline = true
trim_trailing_whitespace = true

indent_style = space
indent_size = 4
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.tex text eol=lf
*.md text eol=lf
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
.vscode

## Generated PDF files are ignored.
## Navigate to GitHub Actions or Releases to obtain a copy.
讲义/*.pdf
习题参考答案/*.pdf
build

## VSCode workspace settings
.vscode/settings.json
.vscode/launch.json
.vscode/tasks.json

## Core latex/pdflatex auxiliary files:
*.aux
*.lof
Expand Down
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": [ "editorconfig.editorconfig" ]
}

0 comments on commit 04735df

Please sign in to comment.