feat: key spacing

This commit is contained in:
qianxi0410
2022-08-06 23:47:28 +08:00
parent 6aaba6debd
commit 9abf1b9d73
10 changed files with 61 additions and 60 deletions

View File

@ -51,6 +51,7 @@
"no-multiple-empty-lines": ["error", { "max": 1, "maxBOF": 0, "maxEOF": 0 }], "no-multiple-empty-lines": ["error", { "max": 1, "maxBOF": 0, "maxEOF": 0 }],
"space-unary-ops": ["error", { "words": true, "nonwords": false }], "space-unary-ops": ["error", { "words": true, "nonwords": false }],
"space-infix-ops": "error", "space-infix-ops": "error",
"key-spacing": ["error", { "beforeColon": false, "afterColon": true }],
"react/prop-types": "off", "react/prop-types": "off",