Skip to content

Commit 1a2b513

Browse files
authored
ci: Add lint rule for curly braces (#9032)
1 parent 0d5acf3 commit 1a2b513

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"prefer-const": "error",
2525
"space-infix-ops": "error",
2626
"no-useless-escape": "off",
27-
"require-atomic-updates": "off"
27+
"require-atomic-updates": "off",
28+
"object-curly-spacing": ["error", "always"]
2829
},
2930
"globals": {
3031
"Parse": true

0 commit comments

Comments
 (0)