Skip to content

Commit

Permalink
Implemented 'prettier' dependency for code consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyzhen committed Aug 24, 2020
1 parent bd754f2 commit 82d020c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
module.exports = {
"extends": "airbnb",
"extends": [
"airbnb",
"plugin:prettier/recommended"
],
"plugins": [
"react-hooks"
],
Expand Down
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Ignore artifacts:
build
coverage

# Ignore all HTML files:
*.html
4 changes: 4 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
arrowParens: "always",
singleQuote: true,
};

0 comments on commit 82d020c

Please sign in to comment.