c2c4d84fc1
gi modules are always loaded (there is no API for "set version without loading"), so we need to break dependencies.js into three sections: - Required - Compile-time optional - Runtime optional Required dependencies are always imported, compile-time optional dependencies are loaded if gnome-shell is compiled with support for them, and for runtime optional dependencies we catch any errors when attempting to load them. If runtime optional dependencies fail to load we log a debug-level message. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2822>
17 lines
389 B
YAML
17 lines
389 B
YAML
extends:
|
|
- ./lint/eslintrc-gjs.yml
|
|
- ./lint/eslintrc-shell.yml
|
|
overrides:
|
|
- files:
|
|
- js/ui/init.js
|
|
- js/ui/environment.js
|
|
- js/ui/scripting.js
|
|
- js/misc/dependencies.js
|
|
- js/dbusServices/**
|
|
- js/portalHelper/**
|
|
- subprojects/extensions-app/**
|
|
- subprojects/extensions-tool/**
|
|
- tests/**
|
|
parserOptions:
|
|
sourceType: module
|