Skip to content

Commit

Permalink
chore: install Prettier code linter #242
Browse files Browse the repository at this point in the history
  • Loading branch information
billchurch committed May 17, 2021
1 parent 77faa8a commit 024dd75
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,19 @@
"node": true
},
"extends": [
"airbnb-base"
"airbnb-base",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
"@typescript-eslint",
"prettier"
],
"rules": {
"prettier/prettier": ["error"]
}
}
4 changes: 4 additions & 0 deletions app/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 100,
"singleQuote": true
}

0 comments on commit 024dd75

Please sign in to comment.