Skip to content

Commit

Permalink
feat: initial dependencies and configs
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelramos committed Jul 2, 2024
1 parent e1475c1 commit 6b26f93
Show file tree
Hide file tree
Showing 6 changed files with 2,683 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# http://editorconfig.org

root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{js,jsx,ts,mjs,cjs,tsx}]
indent_style = space
indent_size = 2
insert_final_newline = true
block_comment_start = /**
block_comment = *
block_comment_end = */
quote_type = single

[*.{json}]
indent_style = space
indent_size = 2
quote_type = double

[*.md]
insert_final_newline = false
trim_trailing_whitespace = false

[*.go]
insert_final_newline = false
trim_trailing_whitespace = false

[*.rs]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_size = 4
max_line_length = 100

# The indent size used in the `package.json` file cannot be changed
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
[{*.yml,*.yaml,package.json}]
indent_style = space
indent_size = 2
11 changes: 11 additions & 0 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Keep in sync with .editorconfig
max_width = 100

tab_spaces = 4
hard_tabs = false

format_strings = true
wrap_comments = true

imports_granularity = "Crate"
group_imports = "StdExternalCrate"
Loading

0 comments on commit 6b26f93

Please sign in to comment.