Andrew Newdigate
|
3288e1a874
|
Adds the Rubocop ReturnNil cop
This style change enforces `return if ...` instead of
`return nil if ...` to save maintainers a few minor review points
|
2019-03-06 17:51:56 +02:00 |
|
gfyoung
|
7ec8af5017
|
Enable even more frozen string for lib/gitlab
Enables frozen string for the following:
* lib/gitlab/hook_data/**/*.rb
* lib/gitlab/i18n/**/*.rb
* lib/gitlab/import/**/*.rb
* lib/gitlab/import_export/**/*.rb
* lib/gitlab/kubernetes/**/*.rb
* lib/gitlab/legacy_github_import/**/*.rb
* lib/gitlab/manifest_import/**/*.rb
* lib/gitlab/metrics/**/*.rb
* lib/gitlab/middleware/**/*.rb
Partially addresses gitlab-org/gitlab-ce#47424.
|
2018-11-16 17:41:14 -08:00 |
|
Bob Van Landuyt
|
17fc178cb5
|
Correctly translate all forms in tests
|
2018-06-15 14:58:47 +02:00 |
|
Bob Van Landuyt
|
abe198723d
|
Take nplurals into account when validating translations.
|
2017-08-31 21:13:02 +02:00 |
|
Bob Van Landuyt
|
f35a5d0d99
|
Split translation & metadata entries into classes
|
2017-08-31 21:13:01 +02:00 |
|