chore: add eslint config

This commit is contained in:
fanxingqiang
2021-07-05 17:39:00 +08:00
committed by 踏学吾痕
parent 0adc256d53
commit e1200f2dbe
10 changed files with 1873 additions and 3158 deletions

7
.prettierrc.js Normal file
View File

@@ -0,0 +1,7 @@
module.exports = {
bracketSpacing: true,
jsxBracketSameLine: true,
singleQuote: true,
arrowParens: 'avoid',
trailingComma: 'all'
};