f8886468ce
I misremembered that imports.package.start() would set up the correct gettext domain, but the module only provides a convenience method for doing that. Use it to bring back translations in the Extensions app, whoops. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1108
27 lines
478 B
YAML
27 lines
478 B
YAML
rules:
|
|
camelcase:
|
|
- error
|
|
- properties: never
|
|
allow: [^vfunc_, ^on_]
|
|
consistent-return: error
|
|
key-spacing:
|
|
- error
|
|
- mode: minimum
|
|
beforeColon: false
|
|
afterColon: true
|
|
object-curly-spacing:
|
|
- error
|
|
- always
|
|
prefer-arrow-callback: error
|
|
|
|
overrides:
|
|
- files: js/**
|
|
excludedFiles:
|
|
- js/portalHelper/*
|
|
globals:
|
|
global: readonly
|
|
_: readonly
|
|
C_: readonly
|
|
N_: readonly
|
|
ngettext: readonly
|