Added JSHint and JSXHint for linting the code.
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
*
|
||||
* @returns {number}
|
||||
*/
|
||||
function currentTimestamp(){
|
||||
function currentTimestamp() {
|
||||
return Math.round((new Date()).getTime() / 1000);
|
||||
}
|
||||
|
||||
export default currentTimestamp;
|
||||
module.exports = currentTimestamp;
|
||||
|
||||
Reference in New Issue
Block a user