Skip to content

Commit 2ccdb05

Browse files
committed
调整pre-commit
1 parent 517b3f3 commit 2ccdb05

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ end_of_line = lf
1212
charset = utf-8
1313
#是否删除行尾的空格
1414
trim_trailing_whitespace = true
15+
1516
[*.md]
1617
trim_trailing_whitespace = false
1718

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = {
1414
"react/no-array-index-key": "off",
1515
"react/jsx-props-no-spreading": "off",
1616
"no-console": "off",
17-
quotes: ["error", "double"],
17+
quotes: ["error", "single"],
1818
},
1919
env: {
2020
browser: true,

0 commit comments

Comments
 (0)