Skip to content

Commit 38a9db3

Browse files
committed
update eslint rule to 1tbs
1 parent 1d0acf0 commit 38a9db3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.eslintrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"eslint:recommended"
55
],
66
"parserOptions": {
7-
"ecmaVersion": 5,
7+
"ecmaVersion": 5
88
},
99
"env": {
1010
"commonjs": true
@@ -27,7 +27,7 @@
2727
"indent": [0],
2828
"indent-legacy": [2, 4, {"SwitchCase": 1}],
2929
"max-len": [0, 80],
30-
"brace-style": [0, "stroustrup", {"allowSingleLine": true}],
30+
"brace-style": [2, "1tbs", {"allowSingleLine": true}],
3131
"curly": [2, "multi-line"],
3232
"camelcase": [2, {"properties": "never"}],
3333
"comma-spacing": [2, {"before": false, "after": true}],

0 commit comments

Comments
 (0)