mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
chore: use taplo to reformat toml files
This commit is contained in:
parent
b95eeec47d
commit
080baaa2db
23 changed files with 285 additions and 274 deletions
6
.taplo.toml
Normal file
6
.taplo.toml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
include = ["Cargo.toml", "crates/**/*.toml", "tasks/**/*.toml"]
|
||||
|
||||
[formatting]
|
||||
align_entries = true
|
||||
column_width = 120
|
||||
reorder_keys = true
|
||||
|
|
@ -8,7 +8,7 @@ extend-exclude = [
|
|||
"tasks/coverage/babel",
|
||||
"tasks/coverage/typescript",
|
||||
"**/*.snap",
|
||||
"pnpm-lock.yaml"
|
||||
"pnpm-lock.yaml",
|
||||
]
|
||||
|
||||
[default.extend-words]
|
||||
|
|
|
|||
7
justfile
7
justfile
|
|
@ -5,7 +5,12 @@ _default:
|
|||
|
||||
# Initialize the project by installing all the necessary tools
|
||||
init:
|
||||
cargo binstall cargo-nextest cargo-watch cargo-insta typos-cli wasm-pack -y
|
||||
cargo binstall cargo-nextest cargo-watch cargo-insta typos-cli taplo-cli wasm-pack -y
|
||||
|
||||
# Run all fmt for all files
|
||||
fmt:
|
||||
cargo fmt
|
||||
taplo format
|
||||
|
||||
# Run all the tests
|
||||
test:
|
||||
|
|
|
|||
Loading…
Reference in a new issue