diff options
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | bin/Cargo.toml | 2 | ||||
-rw-r--r-- | readme.md | 14 |
3 files changed, 13 insertions, 5 deletions
@@ -431,7 +431,7 @@ checksum = "b203e79e90905594272c1c97c7af701533d42adaab0beb3859018e477d54a3b0" | |||
431 | 431 | ||
432 | [[package]] | 432 | [[package]] |
433 | name = "statix" | 433 | name = "statix" |
434 | version = "0.3.5" | 434 | version = "0.3.6" |
435 | dependencies = [ | 435 | dependencies = [ |
436 | "ariadne", | 436 | "ariadne", |
437 | "clap", | 437 | "clap", |
diff --git a/bin/Cargo.toml b/bin/Cargo.toml index aa789eb..5498ae3 100644 --- a/bin/Cargo.toml +++ b/bin/Cargo.toml | |||
@@ -1,6 +1,6 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "statix" | 2 | name = "statix" |
3 | version = "0.3.5" | 3 | version = "0.3.6" |
4 | edition = "2018" | 4 | edition = "2018" |
5 | license = "MIT" | 5 | license = "MIT" |
6 | authors = [ "Akshay <[email protected]>" ] | 6 | authors = [ "Akshay <[email protected]>" ] |
@@ -57,7 +57,17 @@ Basic usage is as simple as: | |||
57 | statix check /path/to/dir | 57 | statix check /path/to/dir |
58 | 58 | ||
59 | # ignore generated files, such as Cargo.nix | 59 | # ignore generated files, such as Cargo.nix |
60 | statix check /path/to/dir -i '*Cargo.nix' | 60 | statix check /path/to/dir -i Cargo.nix |
61 | |||
62 | # ignore more than one file | ||
63 | statix check /path/to/dir -i a.nix b.nix c.nix | ||
64 | |||
65 | # ignore an entire directory | ||
66 | statix check /path/to/dir -i .direnv | ||
67 | |||
68 | # statix respects your .gitignore if it exists | ||
69 | # run statix in "unrestricted" mode, to disable that | ||
70 | statix check /path/to/dir -u | ||
61 | 71 | ||
62 | # see `statix -h` for a full list of options | 72 | # see `statix -h` for a full list of options |
63 | ``` | 73 | ``` |
@@ -115,8 +125,6 @@ their metadata. | |||
115 | 125 | ||
116 | ## TODO | 126 | ## TODO |
117 | 127 | ||
118 | - Offline documentation for each lint | ||
119 | - Test suite for lints and suggestions | 128 | - Test suite for lints and suggestions |
120 | - Vim plugin (qf list population, apply suggestions) | ||
121 | - Resolve imports and scopes for better lints | 129 | - Resolve imports and scopes for better lints |
122 | - Add silent flag that exits with status | 130 | - Add silent flag that exits with status |