question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CLI for validating project

See original GitHub issue

Is your feature request related to a problem? Please describe.

Add a new package to the mono-repo which could be something like svelte-check. Perhaps being extra verbose is good here, because I’m not certain that in the long term this module would be the place where it lives. (e.g. I think if there’s a svelte cli, then this would be a subcommand in there.

Describe the solution you’d like

The package would use the LSP shipped in this repo to ping every Svelte file in the current directory, and to request diagnostics (a.k.a errors) for that file. This is effectively the equivalent of running TypeScript and/or other tools we support in the LSP over each file.

Describe alternatives you’ve considered In theory this could be built without the LSP, but that abstraction is solid and already has proven itself in vetur

Additional context Came out of https://github.com/sveltejs/svelte/issues/4518#issuecomment-625345746

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:15 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
dummdidummcommented, May 27, 2020
1reaction
ortacommented, May 7, 2020

I don’t know enough about how people use Svelte to talk about that middle step, in my head all of that was happening at IDE level but it seems to make sense

But yeah, that’s basically the entire gist 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add CLI validations and actions - Testim overview
In order to locally run tests which contain CLI validation or action steps, the following command needs to be executed: npm i -g...
Read more >
Validating a Project from the TIBCO BusinessEvents CLI
Validating a Project from the TIBCO BusinessEvents CLI · Navigate to BE_HOME /studio/bin/ and open a command prompt. · Execute a command with...
Read more >
Validation with Pinnacle 21 Community CLI
The CLI (command line interface) can be used to run validations with Pinnacle 21 Community instead of using the GUI (graphical user interface)....
Read more >
Validations Framework Command Line Interface (CLI)
Display details about a specific Validation execution. validation history get ... This command is provided by the validations-libs plugin.
Read more >
SKALE Validator CLI - GitHub
A command line tool for validators and delegators. Written in Python. - GitHub - skalenetwork/validator-cli: A command line tool for validators and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found