mirror of
https://github.com/Xithrius/twitch-tui.git
synced 2024-10-03 16:47:59 +03:00
More editing/formatting configs
This commit is contained in:
parent
77621e90c6
commit
4365fa259c
11
.editorconfig
Normal file
11
.editorconfig
Normal file
@ -0,0 +1,11 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
charset = utf-8
|
||||
|
||||
[*.rs]
|
||||
indent_size = 4
|
2
.github/workflows/audit.yml
vendored
2
.github/workflows/audit.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: audit
|
||||
name: Audit
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
@ -16,3 +16,14 @@ repos:
|
||||
entry: cargo fmt --
|
||||
language: rust
|
||||
types: [ rust ]
|
||||
|
||||
ci:
|
||||
autofix_commit_msg: |
|
||||
[pre-commit.ci] auto fixes from pre-commit.com hooks
|
||||
for more information, see https://pre-commit.ci
|
||||
autofix_prs: true
|
||||
autoupdate_branch: ''
|
||||
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
|
||||
autoupdate_schedule: weekly
|
||||
skip: []
|
||||
submodules: false
|
||||
|
20
deny.toml
Normal file
20
deny.toml
Normal file
@ -0,0 +1,20 @@
|
||||
[advisories]
|
||||
vulnerability = "deny"
|
||||
unmaintained = "deny"
|
||||
yanked = "deny"
|
||||
notice = "deny"
|
||||
ignore = []
|
||||
|
||||
[bans]
|
||||
multiple-versions = "deny"
|
||||
|
||||
[sources]
|
||||
unknown-registry = "deny"
|
||||
unknown-git = "deny"
|
||||
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
||||
|
||||
[licenses]
|
||||
unlicensed = "deny"
|
||||
copyleft = "deny"
|
||||
default = "deny"
|
||||
allow = ["MIT", "Apache-2.0"]
|
3
rustfmt.toml
Normal file
3
rustfmt.toml
Normal file
@ -0,0 +1,3 @@
|
||||
newline_style = "Unix"
|
||||
use_try_shorthand = true
|
||||
use_field_init_shorthand = true
|
Loading…
Reference in New Issue
Block a user