mirror of
https://github.com/nerdypepper/statix.git
synced 2024-08-17 01:10:26 +03:00
bump to v0.3.6
This commit is contained in:
parent
2939957c48
commit
b99dbc2529
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -431,7 +431,7 @@ checksum = "b203e79e90905594272c1c97c7af701533d42adaab0beb3859018e477d54a3b0"
|
||||
|
||||
[[package]]
|
||||
name = "statix"
|
||||
version = "0.3.5"
|
||||
version = "0.3.6"
|
||||
dependencies = [
|
||||
"ariadne",
|
||||
"clap",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "statix"
|
||||
version = "0.3.5"
|
||||
version = "0.3.6"
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
authors = [ "Akshay <nerdy@peppe.rs>" ]
|
||||
|
14
readme.md
14
readme.md
@ -57,7 +57,17 @@ Basic usage is as simple as:
|
||||
statix check /path/to/dir
|
||||
|
||||
# ignore generated files, such as Cargo.nix
|
||||
statix check /path/to/dir -i '*Cargo.nix'
|
||||
statix check /path/to/dir -i Cargo.nix
|
||||
|
||||
# ignore more than one file
|
||||
statix check /path/to/dir -i a.nix b.nix c.nix
|
||||
|
||||
# ignore an entire directory
|
||||
statix check /path/to/dir -i .direnv
|
||||
|
||||
# statix respects your .gitignore if it exists
|
||||
# run statix in "unrestricted" mode, to disable that
|
||||
statix check /path/to/dir -u
|
||||
|
||||
# see `statix -h` for a full list of options
|
||||
```
|
||||
@ -115,8 +125,6 @@ their metadata.
|
||||
|
||||
## TODO
|
||||
|
||||
- Offline documentation for each lint
|
||||
- Test suite for lints and suggestions
|
||||
- Vim plugin (qf list population, apply suggestions)
|
||||
- Resolve imports and scopes for better lints
|
||||
- Add silent flag that exits with status
|
||||
|
Loading…
Reference in New Issue
Block a user