tomatoers / tomato

A simple, usable, and efficient pomodoro app designed for elementary OS
GNU General Public License v2.0
67 stars 15 forks source link

elementary code style #60

Open cjfloss opened 5 years ago

cjfloss commented 5 years ago

Fix warnings from vala-linter

megatux commented 5 years ago

I'm not a reviewer, but looks ok to me :)

ryonakano commented 4 years ago

The latest vala-lint suggests the following message:

src/Tomato.vala
   35.5     error   Expected variable name in ALL_CAPS_CONVENTION   naming-convention

This is the applicable line:

https://github.com/tomatoers/tomato/blob/1e545148f78a3ac95599a410f1b5939351acb6e8/src/Tomato.vala#L35

Diff:

-protected const string[] break_messages = {N_("Go have a coffee"),
+protected const string[] BREAK_MESSAGES = {N_("Go have a coffee"),