Commit Graph

91 Commits

Author SHA1 Message Date
Akshay
7d732a051e refactor parsing code, simplify tests 2022-01-14 18:09:42 +05:30
Akshay
d1ff222bcf allow for version based lints 2022-01-08 16:03:10 +05:30
Rui Chen
94a2edf573
docs: add homebrew installation
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-13 23:20:27 -05:00
Akshay
7147695971
Merge pull request #26 from Gerschtli/aarch64
Add aarch64-linux as supported system in flake.nix
2021-12-09 10:38:14 +05:30
Tobias Happ
43964c4008 add aarch64-linux as supported system in flake.nix 2021-12-06 18:21:55 +01:00
Akshay
d6e9ebcc11 bump to v0.4.2 2021-12-04 13:07:22 +05:30
Akshay
19e2aa4a38 remove tests for unquoted_splices 2021-12-04 13:04:20 +05:30
Akshay
21775f28cd new lint: empty_inherit 2021-12-04 13:04:20 +05:30
Akshay
1079486539 remove lint: unquoted_splice 2021-11-28 19:25:36 +05:30
Akshay
cef2deec58 fix spell err in readme.md 2021-11-28 13:39:30 +05:30
Akshay
a7edc7b471 bump to v0.4.1 2021-11-28 13:36:09 +05:30
Akshay
8b75ed8609 document configuration and --config flag 2021-11-28 13:30:40 +05:30
Akshay
2b6012a79c introduce --config flag 2021-11-28 13:25:23 +05:30
Akshay
4e063b2abc add snapshot test suite 2021-11-08 10:33:13 +05:30
Akshay
78decf580d bump to v0.4.0 2021-11-06 14:56:58 +05:30
Akshay
04f843e5fd output check diagnostics on stdout instead of stderr 2021-11-06 14:54:29 +05:30
Akshay
324a333e67 introducing "streaming" option to check, fix and single 2021-11-06 14:51:55 +05:30
Akshay
63eba9d5c6 introduce ReadOnlyVfs::singleton
create a VFS with exactly one file, handy for operations involving a
single buffer or file
2021-11-06 14:50:58 +05:30
Akshay
96a404acfc add missing explanation to deprecated_is_null 2021-11-04 22:00:13 +05:30
Akshay
b99dbc2529 bump to v0.3.6 2021-11-04 20:17:45 +05:30
Akshay
2939957c48 fix globs not ignore files correctly 2021-11-04 20:02:21 +05:30
Akshay
9ac0957e28 Squashed commit of the following:
commit c0487a3b8b
Author: Akshay <nerdy@peppe.rs>
Date:   Thu Nov 4 18:46:03 2021 +0530

    use ignore crate to enforce simpler ignore rules

    - also respects .gitignore by default
    - adds new flag `-u` to unrestrict statix
2021-11-04 18:47:28 +05:30
Akshay
07d39899d3 new lint: deprecated_is_null 2021-11-04 17:06:02 +05:30
Akshay
5b87c6feb3 new lint: unquoted_uri 2021-11-02 13:18:36 +05:30
figsoda
831bd7e91d apply clippy lints 2021-11-01 22:34:22 -04:00
Akshay
90ea9335b5 bump to v0.3.5 2021-11-01 21:18:59 +05:30
Akshay
151187a47a simplify flake a bit, remove statix warning 2021-11-01 21:15:26 +05:30
figsoda
a2629a3def clean up flake.nix 2021-11-01 08:07:21 -04:00
Akshay
31bd39c75b bump to v0.3.4 2021-11-01 07:52:32 +05:30
Akshay
4b0324d22f Merge branch 'fix-tests' 2021-11-01 07:49:14 +05:30
figsoda
78dda5ec5a fix tests 2021-10-31 20:45:57 -04:00
Akshay
150106459f fix broken flake builds 2021-10-31 22:53:22 +05:30
Akshay
84c9d656dd bump to v0.3.2 2021-10-31 22:45:42 +05:30
Akshay
e8c955da4c add explain subcommand and explanations to all lints 2021-10-31 21:35:15 +05:30
Akshay
246c69f8cf bump to v0.3.1 2021-10-29 18:50:01 +05:30
Andreas Fuchs
81ce42286c Add support for macOS on intel
This adds x86_64-darwin as a supported target, and adds libiconv to
the native build dependencies, as otherwise the rust crate can't be
compiled on Darwin.
2021-10-29 18:44:14 +05:30
Akshay
a34ab7a09f bump to v0.3.0
also add release checklist
2021-10-29 18:44:14 +05:30
Akshay
1a97cce01f report syntax errors as statix errors
- statix now reports errors also, not just warnings
- all diagnostics are available on stderr stream
- non-utf8 files are skipped, does not eject early
2021-10-29 18:44:14 +05:30
Daniel Thwaites
d510714ed5 filter out invalid eta-reductions
if the remaining expression after eta-reduction still contains the
removed function argument, eta-reduction is not possible.
2021-10-29 18:44:14 +05:30
Akshay
c3cede18c9 improve json output for suggestions, bump to v0.2.5 2021-10-28 17:34:59 +05:30
Akshay
6e8dd004ea fix version command not fetching latest version 2021-10-28 17:23:29 +05:30
Akshay
a627799e2a improve json output
The `at` field now includes a `from` and `to` position with line and
column information, instead of a [usize; 2].
2021-10-28 17:14:21 +05:30
Akshay
aa1a855276 bump to v0.2.4 2021-10-28 07:53:40 +05:30
Akshay
3c9a675b9d fix fp with manual_inherit and manual_inherit_from
the lint also needed to validate if the length of the path component was
exactly one, and not just check if the first component matches the
value.
2021-10-28 07:50:36 +05:30
Akshay
8eccf15964 add 3 new lints, bump to v0.2.3
- empty_pattern
- redundant_pattern_bind
- unquoted_splice
2021-10-28 00:33:48 +05:30
Akshay
f909b20c54 allow stdin input to statix-single, vim plugin 2021-10-27 17:13:23 +05:30
Akshay
ed1ee66b06 add MIT license 2021-10-27 08:02:57 +05:30
Akshay
20d195988d set internal crates to 0.0.0, bump to v0.2.0 2021-10-26 19:50:23 +05:30
Akshay
393c285662 fix single fix command 2021-10-26 19:16:52 +05:30
Akshay
cd527e849f fix minor bug with out-format 2021-10-25 22:18:42 +05:30