1.error Import in body of module; reorder to top import/first
2.error Unexpected trailing comma comma-dangle
1. The
first error means: the import statement should be placed at the front, at least in front of the const definition variable.
Correction:
2.
The second error means: Do not add a comma to the last of each object.