Skip to content

Commit

Permalink
fixed linter rules, ignore package.json (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
mylesdomingo authored Oct 5, 2021
1 parent 0e3d839 commit 598ed36
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"react/jsx-props-no-spreading": "off",
"no-console": ["error", { "allow": ["warn"] }],
"object-curly-newline": "off",
"arrow-parens": [2, "as-needed"],
"no-unused-expressions": [
"error",
{
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ web-build/
.env
yarn-error.log
coverage/
package.json

# macOS
.DS_Store
Expand Down
6 changes: 4 additions & 2 deletions src/database/firebase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ export const setTree = async (tree: Tree) => {
};

/**
* getComment queries the `comments` table and returns a Comment if the ID is found and an empty entry otherwise.
* getComment queries the `comments` table and
* returns a Comment if the ID is found and an empty entry otherwise.
*/
export const getComment = async (id: string): Promise<Comment> => {
try {
Expand All @@ -110,7 +111,8 @@ export const setComment = async (comment: Comment) => {
};

/**
* getAdditional queries the `additional` table and returns an Additional if the ID is found and an empty entry otherwise.
* getAdditional queries the `additional` table and
* returns an Additional if the ID is found and an empty entry otherwise.
*/
export const getAdditional = async (id: string): Promise<Additional> => {
try {
Expand Down

0 comments on commit 598ed36

Please sign in to comment.