0d8e0025d6
GJS added a console module that extensions may start using. To ensure that extensions using console.log() and similar functions don't show up as 'Gjs-Console' in users' system logs, we should call setConsoleLogdomain() with 'GNOME Shell'. This GJS API addition is only accessible using ECMAScript Modules (ESM), this commit moves shell startup to a small init.js module and adapts CI jobs to either handle or ignore it. We can drop the .jscheckignore file when future versions of SpiderMonkey allow for compile checks without validating module specifiers. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1958>
8 lines
152 B
YAML
8 lines
152 B
YAML
extends:
|
|
- ./lint/eslintrc-gjs.yml
|
|
- ./lint/eslintrc-shell.yml
|
|
overrides:
|
|
- files:
|
|
- js/ui/init.js
|
|
parserOptions:
|
|
sourceType: module |