Skip to content

Load workspace eslint config file for untitled files #801

Closed
@garyking

Description

@garyking

If we're in a workspace, then please load the workspace's eslint config file for untitled files.

Otherwise, when we're in a workspace, and we open a new untitled file, and set the language to JavaScript, we get the following error in eslint-vscode:

[Warn  - 1:44:50 AM] 
No ESLint configuration (e.g .eslintrc) found for file: Untitled-1
File will not be validated. Alternatively you can disable ESLint by executing the 'Disable ESLint' command.

Unless there is a way to apply eslint to an untitled file, that I'm not aware of? Other than placing an eslint file in the user's home dir.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions