gnome-shell/lint/eslintrc-shell.yml
Florian Müllner f8886468ce extensionPrefs: Initialize gettext
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
2020-03-19 20:53:40 +00:00

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