-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sniff to check for first line descriptions #134
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #134 +/- ##
============================================
+ Coverage 97.84% 97.87% +0.03%
- Complexity 835 844 +9
============================================
Files 36 37 +1
Lines 2463 2499 +36
============================================
+ Hits 2410 2446 +36
Misses 53 53 ☔ View full report in Codecov by Sentry. |
5524f71
to
520232d
Compare
520232d
to
8045fa0
Compare
Q: Does this cover cases like:
I mean, it sounds to me that the 1st line alone (with empty line after), has been always a requirement for them. But we haven't enforced it, I think. And this may be the perfect sniff for that. |
It doesn't cover that case right now, but it's not hard to add. Still, I'd prefer to do it as a separate PR in this case because there are a couple of ways to do it. |
Agreed, we can create a new issue with some thoughts about what we may need to check:
I'll proceed to review this soon... ciao :-) |
Have created #136 to have the discussion above registered. |
0b2c214
to
ad8be34
Compare
Replaces:
Replaces moodlehq/moodle-local_moodlecheck#142