Skip to content

Instantly share code, notes, and snippets.

@smith
Last active October 2, 2017 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smith/e63738a9608d49b99ea45129163f36db to your computer and use it in GitHub Desktop.
Save smith/e63738a9608d49b99ea45129163f36db to your computer and use it in GitHub Desktop.
VSCode config
# List of installed extensions. These are not the friendly names on the marketplace, but you could figure it out,
# and I think you can run `code --install-extension Orta.vsocde-jest`
nsmith@nsmith ~/s/s/m/meatballs-ui> code --list-extensions (master=)
DSKWRK.vscode-generate-getter-setter
EditorConfig.EditorConfig
Orta.vscode-jest
Pendrica.Chef
PeterJausovec.vscode-docker
TeddyDD.fish
Tyriar.sort-lines
christian-kohler.path-intellisense
dbaeumer.vscode-eslint
deerawan.vscode-dash
donjayamanne.githistory
eg2.tslint
eg2.vscode-npm-script
jpoissonnier.vscode-styled-components
lukehoban.Go
lunaryorn.fish-ide
msjsdiag.debugger-for-chrome
shinnn.stylelint
timonwong.shellcheck
ziyasal.vscode-open-in-github
{
"version": "0.2.0",
"configurations": [
{
"type": "firefox",
"request": "attach",
"name": "firefox",
"url": "https://staging-infrastructure.newrelic.com/accounts/1/hosts?use_version=local",
"pathMappings": [
{ "url": "webpack:///src/", "path": "${workspaceRoot}/src/" },
{ "url": "webpack:///~/", "path": "${workspaceRoot/node_modules/"}
],
"log": {
"consoleLevel": {
"PathConversion": "Debug",
"default": "Error"
}
}
},
{
"type": "node",
"request": "launch",
"name": "e2e",
"runtimeExecutable": "npm",
"runtimeArgs": [
"start"
],
"cwd": "${workspaceRoot}/e2e",
"port": 9229,
"console": "internalConsole"
},
{
"name": "jest",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/@datanerd/newr/commands/test",
"stopOnEntry": false,
"args": ["--", "--runInBand"],
"cwd": "${workspaceRoot}",
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "test"
},
"console": "internalConsole",
"sourceMaps": true
}
]
}
{
"files.autoSave": "afterDelay",
"editor.fontFamily": "Source Code Pro",
"editor.fontSize": 16,
"editor.renderWhitespace": "boundary",
"terminal.integrated.shell.osx": "/usr/local/bin/fish",
"terminal.integrated.fontSize": 16,
"files.associations": {
"*.go": "go"
},
"[go]": {},
"[javascript]": {},
"terminal.integrated.shellArgs.osx": [],
"editor.formatOnSave": true,
"foodcritic.enable": true,
"eslint.autoFixOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact"
],
"jest.pathToJest": "npm test --",
"eslint.options": {
"ignore-pattern": "*.d.ts"
},
"tslint.ignoreDefinitionFiles": false,
"tslint.autoFixOnSave": true,
"search.exclude": {
"**/*.snap": true,
"**/bower_components": true,
"**/node_modules": true,
"**/coverage": true,
"**/dist": true,
"**/package-lock.json": true,
"**/WDIO.*.xml": true,
"**/yarn.lock": true
},
"javascript.implicitProjectConfig.checkJs": true,
"genGetSet.spacedImportLine": false,
"genGetSet.ignoredLibraryPaths": [
"dist"
],
"editor.formatOnType": false,
"editor.formatOnPaste": false,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
"typescript.format.insertSpaceBeforeFunctionParenthesis": true,
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"tslint.run": "onSave",
"jest.enableInlineErrorMessages": true,
"jest.enableSnapshotUpdateMessages": true,
"files.autoSaveDelay": 3000,
"window.zoomLevel": 0
}
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"script": "dev",
"type": "npm",
"group": {
"kind": "build",
"isDefault": true
}
},
{
"taskName": "e2e",
"command": "npm run e2e",
"type": "shell",
"group": "test",
"options":{
"cwd": "${workspaceRoot}/e2e"
}
},
{
"taskName": "selenium",
"type": "shell",
"command": "selenium-standalone start",
"problemMatcher": []
},
{
"script": "tdd",
"type": "npm",
"group": {
"kind": "test",
"isDefault": true
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment