Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true

[*.{js,ts,tsx,jsx,json,yml,yaml,md,sol}]
indent_style = space
indent_size = 2
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* text=auto eol=lf
*.sol linguist-language=Solidity
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@ Again, a file that you might want to change, although unlikely, is [docs/develop
## Cloudflare

There are some Page Rules defined in Cloudflare to support some redirections for the public docs. Visit them to understand what they do.

---

## Editor settings
This repository enforces LF end-of-line and 2-space indentation via `.editorconfig` and `.gitattributes` to keep diffs clean across platforms.