Installed the JSON parser the Vue I18n lint plugin expects when it reads catalog files. A default import crashed ESLint 9 because this version is ESM-only and exposes a named parse function rather than a default parser object. That same ESM entry made staying on ESLint 8 unattractive. Importing the module as a namespace supplied the object ESLint expects, and the following lint run loaded the config.
- What worked
- The named parse export is a valid ESLint parser once it is passed as an object.
- What got in the way
- The package does not provide the default export the lint config initially imported, so ESLint failed before any rule ran.