Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,29 @@ ci:
autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks"
repos:
- repo: https://github.com/hadialqattan/pycln
rev: v2.1.3
rev: v2.5.0
hooks:
- id: pycln
args: [--config, pyproject.toml]
stages: [commit]
stages: [pre-commit]

- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 6.0.1
hooks:
- id: isort
stages: [commit]
stages: [pre-commit]

- repo: https://github.com/psf/black
rev: 23.7.0
rev: 25.1.0
hooks:
- id: black
stages: [commit]
stages: [pre-commit]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
rev: v4.0.0-alpha.8
hooks:
- id: prettier
stages: [commit]
stages: [pre-commit]

- repo: https://github.com/nonebot/nonemoji
rev: v0.1.4
Expand Down
16 changes: 8 additions & 8 deletions frontend/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')
require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
root: true,
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript',
'@vue/eslint-config-prettier/skip-formatting'
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/eslint-config-typescript",
"@vue/eslint-config-prettier/skip-formatting",
],
parserOptions: {
ecmaVersion: 'latest'
}
}
ecmaVersion: "latest",
},
};
16 changes: 8 additions & 8 deletions frontend/openapi-ts.config.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { defineConfig } from '@hey-api/openapi-ts'
import { defineConfig } from "@hey-api/openapi-ts";

export default defineConfig({
client: '@hey-api/client-fetch',
input: '../openapi.json',
client: "@hey-api/client-fetch",
input: "../openapi.json",
output: {
format: 'prettier',
path: './src/client/api'
format: "prettier",
path: "./src/client/api",
},
services: {
asClass: true
}
})
asClass: true,
},
});
10 changes: 5 additions & 5 deletions frontend/postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export default {
plugins: {
'postcss-import': {},
'tailwindcss/nesting': 'postcss-nesting',
"postcss-import": {},
"tailwindcss/nesting": "postcss-nesting",
tailwindcss: {},
autoprefixer: {}
}
}
autoprefixer: {},
},
};
8 changes: 4 additions & 4 deletions frontend/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script setup lang="ts">
import { RouterView } from 'vue-router'
import ToastItem from '@/components/ToastItem.vue'
import { useToastStore } from '@/stores'
import { RouterView } from "vue-router";
import ToastItem from "@/components/ToastItem.vue";
import { useToastStore } from "@/stores";

const store = useToastStore()
const store = useToastStore();
</script>

<template>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/assets/main.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'material-symbols';
@import "material-symbols";

@tailwind base;
@tailwind components;
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/client/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is auto-generated by @hey-api/openapi-ts
export * from './schemas.gen'
export * from './services.gen'
export * from './types.gen'
export * from "./schemas.gen";
export * from "./services.gen";
export * from "./types.gen";
Loading