Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

Frontend lint setup #108

Open
cbh778899 opened this issue Jun 28, 2024 · 2 comments
Open

Frontend lint setup #108

cbh778899 opened this issue Jun 28, 2024 · 2 comments

Comments

@cbh778899
Copy link
Collaborator

cbh778899 commented Jun 28, 2024

Currently I'm using eslint for code lint, basically auto set up by command npm init @eslint/config, but it keep saying like import type {xxx} from xxx is wrong syntax. I tried also @barbel/eslint-parser, it would only cause more errors. I'm not familiar with both typescript and eslint setup, do anyone got any ideas on this?

eslint.config.js:
image

npm run lint output:
image

dependicies versions:

"@eslint/js": "^9.5.0",
"eslint": "^9.5.0",
"eslint-plugin-vue": "^9.26.0",
"globals": "^15.6.0",
"typescript-eslint": "^7.14.1"

@cbh778899
Copy link
Collaborator Author

see branch lint-dev, it's not yet PR'd

@Aisuko
Copy link
Member

Aisuko commented Jun 28, 2024

This is an issue, we need to do more research on it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants