feat: add lint-staged

This commit is contained in:
Yifei Zhang
2023-03-28 17:51:22 +00:00
parent 83400093a2
commit e648a59b1f
8 changed files with 467 additions and 61 deletions

10
.prettierrc.js Normal file
View File

@@ -0,0 +1,10 @@
module.exports = {
printWidth: 80,
tabWidth: 2,
useTabs: false,
semi: true,
singleQuote: false,
trailingComma: 'all',
bracketSpacing: true,
arrowParens: 'always',
};