Skip to content

Commit d6a17f6

Browse files
committed
Update eslint config
1 parent 115dfbd commit d6a17f6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.eslintrc.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"rules": {
1515
"indent": [
1616
"error",
17-
2
17+
2,
18+
{ "SwitchCase": 1 }
1819
],
1920
"linebreak-style": [
2021
"error",
@@ -151,7 +152,7 @@
151152
"space-before-function-paren": [
152153
"error",
153154
{
154-
"anonymous": "always",
155+
"anonymous": "never",
155156
"named": "never",
156157
"asyncArrow": "always"
157158
}

0 commit comments

Comments
 (0)