From f5e85fc85c702ad6459ab0396c0c0b3eb7b8f69d Mon Sep 17 00:00:00 2001 From: Davide Carpini Date: Thu, 2 Nov 2023 16:14:36 +0100 Subject: [PATCH] fix: prettier format --- packages/vanilla-wallet-kit/index.html | 18 ++--- .../src/assets/icons/close.ts | 14 ++-- .../src/wallet-kit/constants/enums/colors.ts | 12 ++-- .../src/wallet-kit/constants/enums/theme.ts | 6 +- packages/vanilla-wallet-kit/tsconfig.json | 66 +++++++++---------- 5 files changed, 59 insertions(+), 57 deletions(-) diff --git a/packages/vanilla-wallet-kit/index.html b/packages/vanilla-wallet-kit/index.html index d262b8d2..1e4b7a53 100644 --- a/packages/vanilla-wallet-kit/index.html +++ b/packages/vanilla-wallet-kit/index.html @@ -1,12 +1,14 @@ - - Connect - - - - - - + + Connect + + + + + + diff --git a/packages/vanilla-wallet-kit/src/assets/icons/close.ts b/packages/vanilla-wallet-kit/src/assets/icons/close.ts index 44f3a395..78cf944e 100644 --- a/packages/vanilla-wallet-kit/src/assets/icons/close.ts +++ b/packages/vanilla-wallet-kit/src/assets/icons/close.ts @@ -1,4 +1,4 @@ -import {html, svg} from 'lit'; +import { html, svg } from 'lit'; export const CloseSvg = svg` - ${CloseSvg} - + + ${CloseSvg} + `; export const DarkCloseSvg = html` - - ${CloseSvg} - + + ${CloseSvg} + `; diff --git a/packages/vanilla-wallet-kit/src/wallet-kit/constants/enums/colors.ts b/packages/vanilla-wallet-kit/src/wallet-kit/constants/enums/colors.ts index b17db94c..6023924b 100644 --- a/packages/vanilla-wallet-kit/src/wallet-kit/constants/enums/colors.ts +++ b/packages/vanilla-wallet-kit/src/wallet-kit/constants/enums/colors.ts @@ -1,9 +1,9 @@ -import {css} from 'lit'; +import { css } from 'lit'; export const Colors = { - White: css`#ffffff`, - LightGray: css`#f2f2f7`, - Gray: css`#888888`, - DarkGrey: css`#333333`, - Dark: css`#222222`, + White: css`#ffffff`, + LightGray: css`#f2f2f7`, + Gray: css`#888888`, + DarkGrey: css`#333333`, + Dark: css`#222222`, }; diff --git a/packages/vanilla-wallet-kit/src/wallet-kit/constants/enums/theme.ts b/packages/vanilla-wallet-kit/src/wallet-kit/constants/enums/theme.ts index bfde8dc7..36a697e8 100644 --- a/packages/vanilla-wallet-kit/src/wallet-kit/constants/enums/theme.ts +++ b/packages/vanilla-wallet-kit/src/wallet-kit/constants/enums/theme.ts @@ -1,8 +1,8 @@ export const ThemeMode = { - Light: 'LIGHT', - Dark: 'DARK', + Light: 'LIGHT', + Dark: 'DARK', }; export const Theme = { - Default: 'DEFAULT', + Default: 'DEFAULT', }; diff --git a/packages/vanilla-wallet-kit/tsconfig.json b/packages/vanilla-wallet-kit/tsconfig.json index 87f273e0..f996decc 100644 --- a/packages/vanilla-wallet-kit/tsconfig.json +++ b/packages/vanilla-wallet-kit/tsconfig.json @@ -1,35 +1,35 @@ { - "extends": "@vechain/repo-config/src/tsconfig/base.json", - "compilerOptions": { - "target": "es2021", - "module": "es2020", - "lib": ["es2021", "DOM", "DOM.Iterable"], - "declaration": true, - "declarationMap": true, - "sourceMap": true, - "inlineSources": true, - "outDir": "./dist", - "rootDir": "./src", - "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, - "noImplicitAny": true, - "noImplicitThis": true, - "moduleResolution": "node", - "allowSyntheticDefaultImports": true, - "experimentalDecorators": true, - "forceConsistentCasingInFileNames": true, - "noImplicitOverride": true, - "plugins": [ - { - "name": "ts-lit-plugin", - "strict": true - } - ], - "types": ["mocha"] - }, - "include": ["src/**/*.ts"], - "exclude": [] + "extends": "@vechain/repo-config/src/tsconfig/base.json", + "compilerOptions": { + "target": "es2021", + "module": "es2020", + "lib": ["es2021", "DOM", "DOM.Iterable"], + "declaration": true, + "declarationMap": true, + "sourceMap": true, + "inlineSources": true, + "outDir": "./dist", + "rootDir": "./src", + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noImplicitReturns": true, + "noFallthroughCasesInSwitch": true, + "noImplicitAny": true, + "noImplicitThis": true, + "moduleResolution": "node", + "allowSyntheticDefaultImports": true, + "experimentalDecorators": true, + "forceConsistentCasingInFileNames": true, + "noImplicitOverride": true, + "plugins": [ + { + "name": "ts-lit-plugin", + "strict": true + } + ], + "types": ["mocha"] + }, + "include": ["src/**/*.ts"], + "exclude": [] }