From 7d3e7394ed21748c060ba8a33f6ba4043df88ec0 Mon Sep 17 00:00:00 2001 From: Jeff Gardner <202880+erskingardner@users.noreply.github.com> Date: Thu, 1 Feb 2024 11:22:10 +0100 Subject: [PATCH] Replace auth request js method, change prettierrc to handle handlebar templates better --- .prettierrc.json | 18 ++++-- templates/authorizeRequest.handlebar | 87 +++++++++++++++++++++++----- 2 files changed, 84 insertions(+), 21 deletions(-) diff --git a/.prettierrc.json b/.prettierrc.json index 2519bad..f98859f 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,7 +1,15 @@ { - "importOrder": ["^[./]"], - "importOrderSeparation": true, - "tabWidth": 4, - "useTabs": false, - "semi": true + "importOrder": ["^[./]"], + "importOrderSeparation": true, + "tabWidth": 4, + "useTabs": false, + "semi": true, + "overrides": [ + { + "files": "*.handlebar", + "options": { + "tabWidth": 2 + } + } + ] } diff --git a/templates/authorizeRequest.handlebar b/templates/authorizeRequest.handlebar index dcff0ea..4f39dfc 100644 --- a/templates/authorizeRequest.handlebar +++ b/templates/authorizeRequest.handlebar @@ -1,8 +1,8 @@
- - + +