Skip to content

Commit

Permalink
chore(): upgrade ts and eslint prettier plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Feb 25, 2021
1 parent 5d49b4c commit 58d850d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module.exports = {
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
'prettier/@typescript-eslint',
],
root: true,
env: {
Expand Down
19 changes: 13 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"delete-empty": "3.0.0",
"engine.io-client": "4.1.1",
"eslint": "7.20.0",
"eslint-config-prettier": "7.2.0",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-import": "2.22.1",
"eventsource": "1.0.7",
"fancy-log": "1.3.3",
Expand Down Expand Up @@ -163,7 +163,7 @@
"ts-morph": "10.0.1",
"ts-node": "9.1.1",
"typeorm": "0.2.31",
"typescript": "4.1.5",
"typescript": "4.2.2",
"wrk": "1.2.1",
"ws": "7.4.3"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/common/services/logger.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ export class Logger implements LoggerService {
day: '2-digit',
month: '2-digit',
};
return new Date(Date.now()).toLocaleString(undefined, localeStringOptions);
return new Date(Date.now()).toLocaleString(
undefined,
localeStringOptions as Intl.DateTimeFormatOptions,
);
}

private callFunction(
Expand Down

0 comments on commit 58d850d

Please sign in to comment.