The source project of this merge request has been removed.
Update ESLint tooling
Fixes linter with Node.js 18
error eslint-plugin-jsdoc@37.9.6: The engine "node" is incompatible with this module. Expected version "^12 || ^14 || ^16 || ^17". Got "18.7.0"
Also - replace yarn.lock
with package-lock.json
, there is no good reason anymore to use yarn 1 over built-in/official npm.
Finally, I fixed the following errors caused by updating eslint-plugin-jsdoc:
/home/sonny/Projects/GNOME/gjs/modules/core/overrides/GLib.js:325:1: Missing JSDoc @param "logDomain" description. [Error/jsdoc/require-param-description]
/home/sonny/Projects/GNOME/gjs/modules/core/overrides/GLib.js:326:1: Missing JSDoc @param "logLevel" description. [Error/jsdoc/require-param-description]
/home/sonny/Projects/GNOME/gjs/modules/core/overrides/GLib.js:327:1: Missing JSDoc @param "stringFields" description. [Error/jsdoc/require-param-description]