Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Maintenance] Replace or support vue-tsc with typed checks of @vue/eslint-config-typescript #427

Open
2 tasks done
devtobi opened this issue Oct 18, 2024 · 0 comments
Open
2 tasks done
Labels
Priority: Medium The issue contains work with medium priority. Template: Frontend Issues regarding the frontend template. Template: Webcomponent Issues regarding the webcomponent template. Type: Maintenance The issue contains maintenance work.

Comments

@devtobi
Copy link
Member

devtobi commented Oct 18, 2024

Relevant template

refarch-frontend, refarch-webcomponent

Problem description (optional)

We currently use vue-tsc to type check the source code when running the lint job
Additionally we use vue-tsc in the build job to support features like incremental builds

With the recently newly upgraded @vue/eslint-config-typescript we might be able to replace vue-tsc and even improve linting capability in TypeScript code as it looks like that @vue/eslint-config-typescript includes more rules.

Desired solution

We need to investigate if the new type check solution of @vue/eslint-config-typescript could replace the use of vue-tsc.
If so vue-tsc should be removed as a dependency and from direct calls inside the build script.

Considered alternatives (optional)

Run both tools in parallel, if we would loose features like incremental builds when removing vue-tsc

Additional context (optional)

See https://github.com/vuejs/eslint-config-typescript?tab=readme-ov-file#linting-with-type-information for more information about typed checks in @vue/eslint-config-typescript

No duplicate

  • I confirm that this issue is not a duplicate

Code of Conduct

  • I agree to follow this project's Code of Conduct
@devtobi devtobi added Template: Webcomponent Issues regarding the webcomponent template. Template: Frontend Issues regarding the frontend template. Type: Maintenance The issue contains maintenance work. Priority: Medium The issue contains work with medium priority. labels Oct 18, 2024
@devtobi devtobi moved this from Open to Accepted in it@M RefArch Templates Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium The issue contains work with medium priority. Template: Frontend Issues regarding the frontend template. Template: Webcomponent Issues regarding the webcomponent template. Type: Maintenance The issue contains maintenance work.
Projects
Status: Accepted
Development

No branches or pull requests

1 participant