Draft: [Chore] Switch trailing newlines check to Danger
Description
Problem: we can slightly improve the check if we write it with Danger - in this case we can prompt an message right in the MR next to the bad source code.
Solution: write this check in Danger.
Related issue(s)
TM-577
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Konstantin Ivanov