From 3c81d3edecf754807436a0127afffa65744a178a Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sat, 16 Jul 2022 05:41:22 +0000 Subject: [PATCH] Format code with prettier This commit fixes the style issues introduced in 6da9a22 according to the output from prettier. Details: https://deepsource.io/gh/fuwaa/pint/transform/e78e9d22-587c-4b5c-86f7-bd6f31068114/ --- postcss.config.js | 2 +- src/assets/styles/index.css | 9 +++++---- src/methods/helper.js | 2 +- tailwind.config.js | 6 ++---- tsconfig.json | 10 ++-------- 5 files changed, 11 insertions(+), 18 deletions(-) diff --git a/postcss.config.js b/postcss.config.js index 33ad091..12a703d 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -3,4 +3,4 @@ module.exports = { tailwindcss: {}, autoprefixer: {}, }, -} +}; diff --git a/src/assets/styles/index.css b/src/assets/styles/index.css index eb29d1e..1403916 100644 --- a/src/assets/styles/index.css +++ b/src/assets/styles/index.css @@ -2,18 +2,19 @@ @tailwind components; @tailwind utilities; -html, body { +html, +body { /* width: 375px; */ margin: 0; background-color: #0d1117; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', - 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", + "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } code { - font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', + font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace; } diff --git a/src/methods/helper.js b/src/methods/helper.js index 3ff6696..5a6a715 100644 --- a/src/methods/helper.js +++ b/src/methods/helper.js @@ -46,4 +46,4 @@ export function updateMultiple(array, color) { // function finalReturn(finalValue) { // alert(`result is: ${finalValue}`); // value = finalValue -// } \ No newline at end of file +// } diff --git a/tailwind.config.js b/tailwind.config.js index 1490793..37cc651 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,10 +1,8 @@ /** @type {import('tailwindcss').Config} */ module.exports = { - content: [ - "./src/**/*.{js,jsx,ts,tsx}", - ], + content: ["./src/**/*.{js,jsx,ts,tsx}"], theme: { extend: {}, }, plugins: [], -} +}; diff --git a/tsconfig.json b/tsconfig.json index e6797a0..1a79a94 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,11 +1,7 @@ { "compilerOptions": { "target": "es6", - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], + "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, @@ -21,7 +17,5 @@ "jsx": "preserve", "strictNullChecks": false }, - "include": [ - "src" - ] + "include": ["src"] }