mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-23 13:09:44 +00:00
26030a4692
I noticed that my lints are already pretty slow and hard to maintain so I moved them to rust and optimized them. All the files are now linted in parallel, and we can do as many transforms to a single line as we want. I think this provides a good baseline where we can have a big suite of lints if we want to. I added more cases to the FIX linter as well. Rust always puts a newline at the end of a file so we picked up some changes due to that. I think git wants you to do that anyway so it seems like an improvement to me.
12 lines
232 B
TOML
12 lines
232 B
TOML
[package]
|
|
name = "sotn-lint"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
lazy_static = "1.4.0"
|
|
rayon = "1.7.0"
|
|
regex = "1.9.1"
|