Skip to content

Commit

Permalink
Parse CLI options, including presets
Browse files Browse the repository at this point in the history
  • Loading branch information
teohhanhui committed Jun 26, 2024
1 parent 7534371 commit 06a3bf6
Show file tree
Hide file tree
Showing 12 changed files with 1,029 additions and 2 deletions.
71 changes: 71 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]
# Change these settings to your own preference
indent_style = space
indent_size = 4

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.csv]
trim_trailing_whitespace = false

[*.js]
indent_style = space
indent_size = 4

[*.json]
indent_style = space
indent_size = 4

[*.md]
trim_trailing_whitespace = false

[*.py]
indent_style = space
indent_size = 4

[*.rs]
indent_style = space
indent_size = 4

[*.sh]
indent_style = space
indent_size = 4

[*.toml]
indent_style = space
indent_size = 4

[*.{yaml,yml}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = false

[.github/{actions,workflows}/**/*.yml]
indent_style = space
indent_size = 2

[Cargo.toml]
indent_style = space
indent_size = 4

[Makefile]
indent_style = tab
indent_size = 4

[neofetch]
indent_style = space
indent_size = 4

[package.json]
indent_style = space
indent_size = 2
19 changes: 17 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
# Auto detect text files and perform LF normalization
* text=auto
* text=auto eol=lf

*.csv text eol=lf
*.js text eol=lf
*.json text eol=lf
*.md text eol=lf
*.py text eol=lf
*.rs text eol=lf
*.sh text eol=lf
*.toml text eol=lf
*.txt text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
Cargo.lock text eol=lf merge=binary
Makefile text eol=lf
MANIFEST.in text eol=lf
neofetch text eol=lf
299 changes: 299 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 06a3bf6

Please sign in to comment.