-
Notifications
You must be signed in to change notification settings - Fork 0
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
6 changed files
with
247 additions
and
165 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,41 @@ | ||
# 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 | ||
trim_trailing_whitespace = true | ||
|
||
# TypeScript and JavaScript files | ||
[*.{ts,js}] | ||
quote_type = single | ||
|
||
# JSON files | ||
[*.json] | ||
insert_final_newline = false | ||
|
||
# Markdown files | ||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
# YAML files | ||
[*.{yml,yaml}] | ||
indent_size = 2 | ||
|
||
# Shell scripts | ||
[*.sh] | ||
indent_size = 2 | ||
|
||
# Ignore built files and node_modules | ||
[{dist,build,node_modules}/**] | ||
indent_style = ignore | ||
indent_size = ignore | ||
end_of_line = ignore | ||
trim_trailing_whitespace = ignore | ||
charset = ignore |
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,50 @@ | ||
# Set default behavior to automatically normalize line endings | ||
* text=auto eol=lf | ||
|
||
# Source code | ||
*.ts text eol=lf | ||
*.js text eol=lf | ||
*.json text eol=lf | ||
*.yml text eol=lf | ||
*.yaml text eol=lf | ||
*.md text eol=lf | ||
|
||
# Config files | ||
.env text eol=lf | ||
.gitattributes text eol=lf | ||
.gitignore text eol=lf | ||
.editorconfig text eol=lf | ||
*.config.js text eol=lf | ||
*.config.ts text eol=lf | ||
tsconfig.json text eol=lf | ||
package.json text eol=lf | ||
package-lock.json text eol=lf | ||
yarn.lock text eol=lf | ||
|
||
# Shell scripts | ||
*.sh text eol=lf | ||
|
||
# Documentation | ||
*.txt text eol=lf | ||
LICENSE text eol=lf | ||
README text eol=lf | ||
|
||
# Denote all files that are truly binary and should not be modified | ||
*.png binary | ||
*.jpg binary | ||
*.jpeg binary | ||
*.gif binary | ||
*.ico binary | ||
*.mov binary | ||
*.mp4 binary | ||
*.mp3 binary | ||
*.zip binary | ||
*.tar binary | ||
*.gz binary | ||
*.tgz binary | ||
*.pdf binary | ||
|
||
# Exclude compiled output and dependencies from GitHub language statistics | ||
dist/* linguist-generated=true | ||
build/* linguist-generated=true | ||
node_modules/* linguist-vendored=true |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
bun run typecheck | ||
bun run lint | ||
bun run format | ||
bun run build | ||
pnpm run typecheck | ||
pnpm run lint | ||
pnpm run format | ||
pnpm run build |
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
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.