Skip to content

Commit 90e1671

Browse files
committed
update
1 parent 5c07f01 commit 90e1671

9 files changed

+1673
-243
lines changed

.eslintrc.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": [
3+
// ...
4+
"plugin:react-hooks/recommended"
5+
]
6+
}

.prettierrc

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
printWidth: 100 # 代码宽度建议不超过100字符
2+
tabWidth: 2 # tab缩进2个空格
3+
semi: false # 末尾分号
4+
singleQuote: true # 单引号
5+
jsxSingleQuote: true # jsx中使用单引号
6+
trailingComma: 'es5' # 尾随逗号
7+
arrowParens: 'avoid' # 箭头函数仅在必要时使用()
8+
htmlWhitespaceSensitivity: 'css' # html空格敏感度

0 commit comments

Comments
 (0)