lighten up eslint configuration, only use eslint for vue template linting
This commit is contained in:
parent
c1d0610ce7
commit
f4d0adac3c
6 changed files with 24 additions and 823 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue