Skip to content

Commit

Permalink
add vscode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-gohri committed Jun 15, 2021
1 parent 5a167f9 commit 8410b79
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,5 @@ docs/

# Mac
.DS_Store
.vscode
.vscode/*
!.vscode/settings.json
40 changes: 40 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"eslint.options": {
"extentions": [".js", ".jsx", ".ts", ".tsx"]
},
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll": true
}
},
"[javascriptreact]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll": true
}
},
"[typescript]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll": true
}
},
"[typescriptreact]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll": true
}
},
"editor.tabCompletion": "on",
"editor.tabSize": 2,
"editor.rulers": [80, 120]
}

0 comments on commit 8410b79

Please sign in to comment.