Skip to content

Commit

Permalink
Prettier + Eslint settings for vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
wagnerjt committed May 18, 2019
1 parent 76269c0 commit 1cf1eab
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[{*.md,*.snap}]
trim_trailing_whitespace = false
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
node_modules
neuler*.tgz
.idea
.idea
.DS_STORE
.eslintcache
*.swp
*~
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
}
13 changes: 11 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
{
"prettier.trailingComma": "es5"
}
"editor.rulers": [80],
"files.exclude": {
"**/.git": true,
"**/node_modules": true,
"**/build": true
},
"editor.formatOnSave": true,
"javascript.validate.enable": false,
"prettier.eslintIntegration": true,
"prettier.trailingComma": "es5"
}

0 comments on commit 1cf1eab

Please sign in to comment.