Skip to content

Commit

Permalink
Resolved linter semicolon issues. (#53)
Browse files Browse the repository at this point in the history
Changed rule in .eslintrc.cjs for extra semicolons to show error instead
of warning. Resolved extra semicolon issues.
  • Loading branch information
parthpandey1 authored Mar 29, 2023
2 parents e350e94 + 1cdabd5 commit 0ebb4d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module.exports = {
root: true,
rules: {
"@typescript-eslint/no-var-requires": "warn",
"@typescript-eslint/no-extra-semi": "warn",
"no-undef": "warn",
},
};
4 changes: 2 additions & 2 deletions routes/sale.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,12 +334,12 @@ router.post('/checkout', ensureAuthenticated, function(req, res) {

}

});;
});
}


}
});;
});



Expand Down

0 comments on commit 0ebb4d2

Please sign in to comment.