Skip to content

Commit

Permalink
add eslint to recommended extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
pvh committed Oct 21, 2019
1 parent eb4b90e commit 31df738
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"dbaeumer.vscode-eslint"
]
}
26 changes: 20 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,28 @@
{
"editor.tabSize": 2,
"editor.formatOnSave": true,
"editor.rulers": [100],
"editor.rulers": [
100
],
"eslint.enable": true,
"eslint.autoFixOnSave": true,
"eslint.validate": [
{ "language": "javascript", "autoFix": true },
{ "language": "javascriptreact", "autoFix": true },
{ "language": "typescript", "autoFix": true },
{ "language": "typescriptreact", "autoFix": true }
{
"language": "javascript",
"autoFix": true
},
{
"language": "javascriptreact",
"autoFix": true
},
{
"language": "typescript",
"autoFix": true
},
{
"language": "typescriptreact",
"autoFix": true
}
],
"typescript.tsdk": "node_modules/typescript/lib"
}
}

0 comments on commit 31df738

Please sign in to comment.