Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Only lint on save #308

Closed
Closed

Description

@garyking

Is it possible to make it so that this extension only lints on save, so that we don't errors while still writing code? Like the warning for unused variables?

Activity

  1. gurgeous commented on Apr 2, 2018

    @gurgeous
    Contributor

    Good idea, though personally I think this is beyond the scope of our extension. Even much more advanced linters (like vscode eslint) don't support this option. If our linter worked great you probably wouldn't want this feature anyway :)

  2. wingrunr21 commented on Apr 4, 2018

    @wingrunr21
    Collaborator

    This can be supported similar to how TSLint supports it (see microsoft/vscode-tslint#68).

    Adding to v1 milestone

  3. added this to the milestone on Apr 4, 2018
  4. self-assigned this
    on Apr 4, 2018
  5. garyking commented on Apr 9, 2018

    @garyking
    Author

    VSCode ESLint does actually support this option, with "eslint.run": "onSave",.

  6. gurgeous commented on Apr 9, 2018

    @gurgeous
    Contributor

    Whoops. This public shaming is working - maybe I'll submit a PR. :) I've been meaning to dig into this more to examine other issues like #238, #262 and #307. Only if you aren't working on it, @wingrunr21. I see you assigned this to yourself...

  7. wingrunr21 commented on Apr 9, 2018

    @wingrunr21
    Collaborator

    If you want to PR against the current codebase go ahead. I'm planning on mirroring the eslint/tslint support on the language server side.

  8. andrewmcodes commented on Sep 14, 2018

    @andrewmcodes

    Is this still an issue using 0.20.0?

  9. github-actions commented on Aug 16, 2020

    @github-actions

    This issue has not had activity for 30 days. It will be automatically closed in 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions