shard-ameba/spec/ameba/formatter
Sijawusz Pur Rahnama ea98554191
Add support for showing end location marker (#200)
* Add support for showing end location marker

* Cleanup Reportable method definitions

There’s no need for double splats, since they mess up method resolution, and obscure the actual - single (!) - argument - `status`, so… be gone

Also, all of the helpers return the constructed `Issue` like a behaving good methods.

* Refactor Util#affected_code

* Increase max length of trimmed lines to 120 characters

* Refactor Issue to use enum instead of a symbol for #status

* Optimize Reportable#valid?

* Add spec coverage for newly added Util methods

* Refactor DotFormatter a bit

Make text format moar in line with Crystal spec runner.

* Update README.md
2021-01-26 08:38:19 +02:00
..
disabled_formatter_spec.cr Add rule namespaces: style, lint, layout (#63) 2018-06-16 14:50:59 +03:00
dot_formatter_spec.cr Add support for showing end location marker (#200) 2021-01-26 08:38:19 +02:00
explain_formatter_spec.cr Rename Severity::Refactoring -> Severity::Convention 2019-05-11 21:17:49 +03:00
flycheck_formatter_spec.cr Rename Severity::Refactoring -> Severity::Convention 2019-05-11 21:17:49 +03:00
json_formatter_spec.cr Rename Severity::Refactoring -> Severity::Convention 2019-05-11 21:17:49 +03:00
todo_formatter_spec.cr Move to YAML::Serializable 2020-06-15 14:29:49 +03:00
util_spec.cr Add support for showing end location marker (#200) 2021-01-26 08:38:19 +02:00