David Houston
a9d7f45924
Implement statix Linter and Fixer ( #3969 )
...
* Add Statix for Linting
Add `statix check` as a linter. Provides a simple set of definition
tests additionally. Variable names specify "check" to allow for later
addition of `statix fix` as a formatter once stream support is added.
Signed-off-by: David Houston <houstdav000@gmail.com >
* Fixup Supported Tools List
I didn't realise there were two separate lists of tools, so add statix
to the other list. Also, remembered "S" comes after "R", and so
re-ordered it.
Signed-off-by: David Houston <houstdav000@gmail.com >
* Fix statix Test File
I refactored the variables for statix to allow for writing a fixer
later, and forgot to update them in the test, so update them now. Also
remove a stray "i", add missing space before checks
Signed-off-by: David Houston <houstdav000@gmail.com >
* Update Output Stream for v0.4.0
statix v0.4.0 provides a breaking change of output stream from stderr to
stdout.
Signed-off-by: David Houston <houstdav000@gmail.com >
* Add statix fix Fixer
Implement statix fix as a fixer for simple Nix antipatterns.
Signed-off-by: David Houston <houstdav000@gmail.com >
* Fix statix Fixer Tests
Fix the statix fixer tests by removing the unnecessary
'read_temporary_file' value from the command, since it simply uses the
default value.
Signed-off-by: David Houston <houstdav000@gmail.com >
* Add statix Handler Test
Add a test for the statix handler per @hsanson's request.
Signed-off-by: David Houston <houstdav000@gmail.com >
* Fix to run only on stdin for linting
Signed-off-by: David Houston <houstdav000@gmail.com >
2021-11-12 07:34:25 +09:00
..
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-07-31 12:35:43 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-07-25 13:39:05 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-09-17 17:55:28 +09:00
2021-03-21 00:25:33 +00:00
2021-07-17 22:07:02 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-23 08:31:52 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-10-09 14:33:07 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-07-17 21:51:17 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-06-19 12:03:39 +01:00
2021-03-21 00:25:33 +00:00
2021-07-25 13:39:05 +09:00
2021-10-02 16:37:57 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-05-26 22:43:33 +01:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-10-02 09:51:22 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-09-21 10:49:15 +09:00
2021-09-21 10:49:15 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-05-25 09:30:42 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-07-25 13:39:05 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-11-12 07:34:25 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-05-27 16:33:43 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-07-10 22:56:26 +09:00
2021-03-21 00:25:33 +00:00
2021-07-25 13:39:05 +09:00
2021-03-21 00:25:33 +00:00
2021-06-19 11:00:26 +01:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-07-25 13:39:05 +09:00
2021-07-25 13:39:05 +09:00
2021-07-25 13:39:05 +09:00
2021-07-25 13:39:05 +09:00
2021-07-25 13:39:05 +09:00
2021-07-25 13:39:05 +09:00
2021-09-15 21:07:45 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-07-04 21:34:35 +09:00
2021-07-20 10:02:23 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-09-11 09:19:17 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-10-22 14:20:00 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-07-04 21:40:12 +09:00
2021-03-21 00:25:33 +00:00
2021-04-15 09:01:18 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-07-03 18:40:01 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-04-07 19:34:34 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-05-25 09:41:14 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-08-04 09:29:07 +09:00
2021-03-21 00:25:33 +00:00
2021-07-25 13:39:56 +09:00
2021-03-21 00:25:33 +00:00
2021-03-26 15:38:57 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-07-25 13:39:05 +09:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-03-21 00:25:33 +00:00
2021-10-24 21:05:55 +09:00
2021-03-21 00:25:33 +00:00