From c4ff84a72d2b4694da9de480e0a83f45b467c6e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Nowak?= <12396461+m3nowak@users.noreply.github.com> Date: Sun, 20 Oct 2024 22:50:19 +0200 Subject: [PATCH] Appease linter gods --- .prettierignore | 1 + eslint.config.js | 3 +++ src/app/services/strava-auth.service.ts | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..b8448a3 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +src/app/api diff --git a/eslint.config.js b/eslint.config.js index c3163b4..a5b5435 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -13,6 +13,9 @@ module.exports = tseslint.config( ...tseslint.configs.stylistic, ...angular.configs.tsRecommended, ], + ignores: [ + "src/app/api/**/*" + ], processor: angular.processInlineTemplates, rules: { "@angular-eslint/directive-selector": [ diff --git a/src/app/services/strava-auth.service.ts b/src/app/services/strava-auth.service.ts index edd5ac1..14a377e 100644 --- a/src/app/services/strava-auth.service.ts +++ b/src/app/services/strava-auth.service.ts @@ -83,7 +83,7 @@ export class StravaAuthService { this.loggerSvc.info('Token expires at:', this.loginExpiresAt()); this.loggerSvc.info('Token expired:', this.isExpired()); this.loggerSvc.info('Token scopes:', this.scopes()); - this.loggerSvc.info("UTC now:", DateTime.utc()); + this.loggerSvc.info('UTC now:', DateTime.utc()); } feedToken(params: Params) {