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

Configure/disable JSHint per-folder in a multi-root workspace #69

Open
dawsonc623 opened this issue Feb 11, 2019 · 2 comments
Open

Configure/disable JSHint per-folder in a multi-root workspace #69

dawsonc623 opened this issue Feb 11, 2019 · 2 comments

Comments

@dawsonc623
Copy link

Currently, it looks like JSHint can only be configured for an entire workspace. I have a workspace with three roots: two of them use JSHint while the third uses ESLint. It would be handy to be able to configure/disable JSHint at the folder level as well as the workspace level.

A solution to #39 might be able to cover this use-case if implemented with this in mind.

@RMacfarlane
Copy link
Contributor

Hey @dawsonc623, this should already be possible: https://code.visualstudio.com/docs/editor/multi-root-workspaces#_settings

You should be able to set different values of jshint.enabled for each folder from the settings UI, or by adding a .vscode folder in each with a settings.json file that has that value.

@dawsonc623
Copy link
Author

@RMacfarlane Thanks for the response. The jshint.enabled option is not available at the folder-level. Just the User and Workspace levels. The only jshint option available for folders is jshint.packageManager.

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

No branches or pull requests

2 participants