chore: install Prettier code linter #242

This commit is contained in:
Bill Church 2021-05-17 06:56:05 -04:00
parent 77faa8ada6
commit 024dd758e4
2 changed files with 9 additions and 2 deletions

View file

@ -6,7 +6,8 @@
"node": true
},
"extends": [
"airbnb-base"
"airbnb-base",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
@ -14,8 +15,10 @@
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
"@typescript-eslint",
"prettier"
],
"rules": {
"prettier/prettier": ["error"]
}
}

4
app/.prettierrc Normal file
View file

@ -0,0 +1,4 @@
{
"printWidth": 100,
"singleQuote": true
}