Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
eslint fix on save in vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
johnymontana committed May 24, 2020
1 parent e7e5386 commit 23c146b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"git.ignoreLimitWarning": true,
"editor.formatOnSave": true,
"prettier.prettierPath": "node_modules/prettier/index.js",
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --cache --fix"
"eslint --fix"
]
}
}

0 comments on commit 23c146b

Please sign in to comment.