ci: Migrate eslint-plugin-jsdoc rule and pin eslint versions

Pin eslint to v8 and eslint-plugin-jsdoc to v46, migrate the removed
jsdoc rule.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2792>
This commit is contained in:
Evan Welsh 2023-06-06 23:23:54 -07:00 committed by Marge Bot
parent aac6970395
commit 39ed7f83fd
3 changed files with 7 additions and 4 deletions

View file

@ -49,7 +49,7 @@ workflow:
.gnome-shell.fedora:
variables:
FDO_DISTRIBUTION_VERSION: 38
FDO_DISTRIBUTION_TAG: '2023-04-21.1'
FDO_DISTRIBUTION_TAG: '2023-06-07.1'
FDO_DISTRIBUTION_PACKAGES:
gjs
nodejs
@ -62,7 +62,7 @@ workflow:
pkgconfig(json-glib-1.0)
FDO_DISTRIBUTION_EXEC: |
# For static analysis with eslint
npm install -g eslint eslint-plugin-jsdoc &&
npm install -g eslint@^8.0.0 eslint-plugin-jsdoc@^46.0.0 &&
dnf group install -y 'Development Tools' \
'C Development Tools and Libraries' &&