-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: editor config and gitattributes configured
- Loading branch information
Showing
4 changed files
with
436 additions
and
383 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
max_line_length = 80 | ||
|
||
# JavaScript and TypeScript files | ||
[*.{js,jsx,ts,tsx}] | ||
quote_type = double | ||
trim_trailing_whitespace = true | ||
|
||
# CSS files | ||
[*.css] | ||
quote_type = double | ||
|
||
# JSON files | ||
[*.json] | ||
insert_final_newline = false | ||
|
||
# Ignore some folders | ||
[{.env,.changeset,.husky,.turbo,node_modules,build,dist}/**] | ||
charset = unset | ||
end_of_line = unset | ||
insert_final_newline = unset | ||
trim_trailing_whitespace = unset | ||
indent_style = unset | ||
indent_size = unset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Set default behavior to automatically normalize line endings | ||
* text=auto eol=lf | ||
|
||
# Denote all files that are truly binary and should not be modified | ||
*.png binary | ||
*.jpg binary | ||
*.jpeg binary | ||
*.gif binary | ||
*.ico binary | ||
*.ttf binary | ||
*.otf binary | ||
*.woff binary | ||
*.woff2 binary | ||
|
||
# Exclude certain directories from Git's default behavior | ||
node_modules/** -text | ||
build/** -text | ||
dist/** -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.