Files
ale/doc
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
..
2019-11-05 17:59:51 +01:00
2018-12-01 15:05:18 +09:00
2019-09-10 20:54:14 +01:00
2021-03-19 22:29:06 +00:00
2019-09-04 00:20:12 +02:00
2021-10-09 14:33:07 +09:00
2020-10-31 14:01:08 +08:00
2017-12-01 17:36:44 +00:00
2021-11-09 16:53:44 +09:00
2018-08-02 13:50:56 -07:00
2019-05-23 15:49:02 +01:00
2017-08-10 21:09:58 +01:00
2020-12-23 16:50:45 +01:00
2018-11-11 18:26:37 +01:00
2018-09-08 16:05:34 -04:00
2019-01-20 19:39:47 -06:00
2019-01-27 12:14:34 +00:00
2018-05-04 21:44:32 +02:00
2019-11-14 14:50:21 +00:00
2018-09-26 20:09:37 +08:00
2018-09-06 21:59:03 -04:00
2021-02-18 23:51:11 +09:00
2021-01-22 23:51:29 +09:00
2018-09-28 16:18:40 -07:00
2018-04-21 22:09:38 +09:00
2018-02-10 13:17:53 -06:00
2018-10-26 17:29:17 +01:00
2018-06-25 10:28:59 +02:00
2020-11-21 20:58:34 +00:00
2020-09-14 07:57:22 -03:00
2020-12-17 09:19:19 +01:00
2019-08-31 12:34:57 +08:00
2018-12-06 11:23:31 -07:00
2020-07-30 09:00:20 -05:00
2020-08-28 09:25:40 +01:00
2017-08-02 23:05:19 +01:00
2018-08-03 21:13:48 +01:00
2021-10-24 21:05:55 +09:00