Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
chore: add vscode shared config files#126
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
bradzacher commentedJan 22, 2019
- add a launch config for debugging the plugin: runs the test for the currently opened file.
- add shared config to make sure everyone's eslint plugin works correctly, and to correctly setup the typescript env
- add extension config to help tell users about what extensions work well with this codebase:
- recommend plugins:
- eslint
- editorconfig
- prettier
- advise against:
- beautify
- jshint
- recommend plugins:
Uh oh!
There was an error while loading.Please reload this page.
The launch.json is really cool and I haven't actually used that feature in VSCode yet. Thinking about it, is there any reason why we can't expand this out to be generic across the project? If it works by configuring jest to work on the current file, and all the packages use jest, the same could apply to them right? |
Yeah launch.json is suuuper powerful. All you need to do with this config is hit F5, and it'll pickup and run the tests for the open rule. So nice! I'm not sure if we can have a single launch config across the entire repo because
This is easily solvable if we standardise into a single root
I don't think that vscode'svariables system supports transforms. This means that you can't arbitrarily transform the current path into a test path for the given package. |