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

feat: add run option for postponing validation until the document is saved #449

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

aleclarson
Copy link

This adds the stylelint.run option with possible values of onType (the default) and onSave. The onType value exhibits Stylelint's current behavior. The onSave value prevents validation until the document is saved. Note that, when onSave is used, this PR doesn't explicitly clear (potentially outdated) diagnostics as you type.

Which issue, if any, is this issue related to?

#445

Is there anything in the PR that needs further explanation?

N/A

@aleclarson
Copy link
Author

Doesn't seem to be working. I tried debugging with Launch Extension and Attach to Server launch commands, but sourcemaps seem to be broken and stepping through the compiled bundle is an awful experience thanks to private member syntax.

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

Successfully merging this pull request may close these issues.

1 participant