Skip to content

Instantly share code, notes, and snippets.

@uzaif313
Last active September 19, 2019 11:07
Show Gist options
  • Select an option

  • Save uzaif313/f8a7b543a027fe3cc44a553a8ef67320 to your computer and use it in GitHub Desktop.

Select an option

Save uzaif313/f8a7b543a027fe3cc44a553a8ef67320 to your computer and use it in GitHub Desktop.
Basic vscode config with react and jsx
{
"explorer.confirmDelete": false,
"editor.formatOnSave": true,
"[ruby]": {
"editor.formatOnSave": true
},
"ruby.format": "rubocop",
"javascript.format.enable": false,
"eslint.autoFixOnSave": true,
"eslint.alwaysShowStatus": true,
"eslint.options": {
"extensions": [
".html",
".js",
".vue",
".jsx"
]
},
"eslint.validate": [
{
"language": "html",
"autoFix": true
},
{
"language": "vue",
"autoFix": true
},
{
"language": "javascript",
"autoFix": true
},
{
"language": "javascriptreact",
"autoFix": true
}
],
"files.eol": "\n",
"editor.tabSize": 2,
"atomKeymap.promptV3Features": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.formatOnPaste": true,
"explorer.confirmDragAndDrop": false,
"window.zoomLevel": 0,
"javascript.updateImportsOnFileMove.enabled": "always"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment