add fix and prettierrc

This commit is contained in:
burnettk 2022-06-27 09:36:19 -04:00
parent 468da211e3
commit b9238739eb
2 changed files with 4 additions and 1 deletions

3
.prettierrc.js Normal file
View File

@ -0,0 +1,3 @@
module.exports = {
singleQuote: true,
};

View File

@ -36,7 +36,7 @@
"test": "react-scripts test",
"eject": "craco eject",
"format": "prettier --write src/**/*.ts{,x}",
"lint": "eslint src/**/*.js{,x}"
"lint": "eslint --fix src/**/*.js{,x}"
},
"eslintConfig": {
"extends": [