Skip to content

Commit

Permalink
chore: prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
foxyseta committed Oct 25, 2024
1 parent b50af42 commit 7170f05
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 46 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
root: true,
'extends': [
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript',
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Build

on:
push
on: push

jobs:
build-check:
Expand All @@ -20,4 +19,3 @@ jobs:

- name: Check formatting
run: npm run build

6 changes: 2 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
group: 'pages'
cancel-in-progress: true

jobs:

deploy-pages:
environment:
name: github-pages
Expand Down Expand Up @@ -50,4 +49,3 @@ jobs:

- name: Deploy pages
uses: actions/deploy-pages@v4

3 changes: 1 addition & 2 deletions .github/workflows/formatting.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Formatting

on:
push
on: push

jobs:
format-check:
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"singleQuote": true,
"printWidth": 100,
"trailingComma": "none"
}
}
11 changes: 5 additions & 6 deletions env.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/// <reference types="vite/client" />

declare module "vuex" {
export * from "vuex/types/index.d.ts";
export * from "vuex/types/helpers.d.ts";
export * from "vuex/types/logger.d.ts";
export * from "vuex/types/vue.d.ts";
declare module 'vuex' {
export * from 'vuex/types/index.d.ts'
export * from 'vuex/types/helpers.d.ts'
export * from 'vuex/types/logger.d.ts'
export * from 'vuex/types/vue.d.ts'
}

22 changes: 10 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Diario Tirocinio</title>
</head>

<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Diario Tirocinio</title>
</head>

<body class="bg-cartabinaria-dark-blu">
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>

<body class="bg-cartabinaria-dark-blu">
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
autoprefixer: {}
}
}
5 changes: 4 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ export default defineComponent({
@click="switchMode"
:disabled="!duringConversion"
class="w-full p-4 rounded-tl-lg enabled:hover:bg-blue-400 font-bold"
:class="{ 'bg-cartabinaria-light-blu': duringConversion, 'bg-blue-500': !duringConversion }"
:class="{
'bg-cartabinaria-light-blu': duringConversion,
'bg-blue-500': !duringConversion
}"
>
Insert
</button>
Expand Down
16 changes: 5 additions & 11 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
/** @type {import('tailwindcss').Config} */
const { addDynamicIconSelectors } = require('@iconify/tailwind');
const { addDynamicIconSelectors } = require('@iconify/tailwind')

export default {
content: [
"./index.html",
"./src/**/*.{vue,js,ts,jsx,tsx}",
],
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
'cartabinaria-light-blu': '#0f1f2a',
'cartabinaria-dark-blu': '#02111b',
'cartabinaria-dark-grey': '#c5c9cc'
},
},
}
}
},
plugins: [
addDynamicIconSelectors(),
],
plugins: [addDynamicIconSelectors()]
}

4 changes: 1 addition & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ import vue from '@vitejs/plugin-vue'
// https://vitejs.dev/config/
export default defineConfig({
base: process.env.BASE_PATH || '/',
plugins: [
vue(),
],
plugins: [vue()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
Expand Down

0 comments on commit 7170f05

Please sign in to comment.