Skip to content

allow linting of new yet unsaved files #1235

@dirk-thomas

Description

@dirk-thomas

Created as a follow up of AtomLinter/linter-xmllint#68.

Currently when a user creates a new file (but doesn't save it yet) and selects a specific syntax for the editor no linter is being triggered. Some linters might not be able to work with an editor which doesn't have a path yet e.g. because they don't support on-the-fly linting or require relative resources. But some linters can perform their task in that case and they should be triggered.

This will require linters which can't handle this case to check the editors path and abort linting when the editor doesn't have a path yet.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions