lighten up eslint configuration, only use eslint for vue template linting

This commit is contained in:
Henry Jameson 2026-09-02 20:02:14 +03:00
commit f4d0adac3c
6 changed files with 24 additions and 823 deletions

View file

@ -40,7 +40,6 @@ export class RegistrationError extends Error {
// the error is probably a JSON object with a single key, "errors", whose value is another JSON object containing the real errors
if (typeof error === 'string') {
error = JSON.parse(error)
// eslint-disable-next-line
if (Object.hasOwn(error, 'error')) {
error = JSON.parse(error.error)
}