vala-lint
vala-lint copied to clipboard
Naming of constant arrays of structs
At the moment a format mistake is reported for lines such as:
private const GLib.OptionEntry[] options = {{......}, {......}};
because an uppercase name is expected. I am not sure this is correct. Such arrays nearly always are given lowercase names.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
At the moment, all constant variables are expected to have uppercase names (as written in the elementary code style. So, what can be done to solve this issue? Should we exclude all constant arrays from uppercase names?