From b99dbc25294248247460ac0d71724f77a934fe63 Mon Sep 17 00:00:00 2001 From: Akshay Date: Thu, 4 Nov 2021 20:17:45 +0530 Subject: bump to v0.3.6 --- Cargo.lock | 2 +- bin/Cargo.toml | 2 +- readme.md | 14 +++++++++++--- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0cde4c2..8bac317 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -431,7 +431,7 @@ checksum = "b203e79e90905594272c1c97c7af701533d42adaab0beb3859018e477d54a3b0" [[package]] name = "statix" -version = "0.3.5" +version = "0.3.6" dependencies = [ "ariadne", "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 @@ [package] name = "statix" -version = "0.3.5" +version = "0.3.6" edition = "2018" license = "MIT" authors = [ "Akshay " ] diff --git a/readme.md b/readme.md index d1eda39..cec99ef 100644 --- a/readme.md +++ b/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 -- cgit v1.2.3