gnome-shell/lint/eslintrc-shell.yml
Florian Müllner d3f662fbf2 extensionUtils: Split out extension convenience functions
ExtensionUtils was originally used for shared functions between
the extension system and the (old) prefs-tool, but then gained
useful API meant for extensions themselves.

It's a bit weird to mix the two, so split out the extension convenience
API into a separate module.

We will soon split up the module further, and add specific "flavors"
for extensions and preferences, with the current code providing a
shared base for both.

That should explain both the new location and the odd module name. :-)

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2837>
2023-07-15 13:16:42 +02:00

36 lines
670 B
YAML

rules:
camelcase:
- error
- properties: never
allow: [^vfunc_, ^on_]
consistent-return: error
eqeqeq:
- error
- smart
key-spacing:
- error
- mode: minimum
beforeColon: false
afterColon: true
prefer-arrow-callback: error
jsdoc/require-param-description: off
overrides:
- files:
- js/**
- tests/shell/**
excludedFiles:
- js/portalHelper/*
- js/extensions/*
globals:
global: readonly
_: readonly
C_: readonly
N_: readonly
ngettext: readonly
- files: subprojects/extensions-app/js/**
globals:
_: readonly
C_: readonly
N_: readonly