Skip to content

Commit

Permalink
update eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
KaungWai committed Feb 23, 2024
1 parent 572e52e commit 528a910
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"env": {
"browser": true,
"es2021": true
"browser": false,
"es6": true
},
"extends": [
"eslint:recommended",
Expand All @@ -21,7 +21,7 @@
"simple-import-sort"
],
"rules": {
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error"
"simple-import-sort/imports": "warn",
"simple-import-sort/exports": "warn"
}
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
"source.fixAll.eslint": "always"
},
"[prisma]": {
"editor.defaultFormatter": "Prisma.prisma"
Expand Down

0 comments on commit 528a910

Please sign in to comment.