chore(frontend): install and set up oxlint and oxfmt

This commit is contained in:
2026-05-14 22:01:56 +02:00
parent 543fbf575d
commit eecc2b354a
10 changed files with 686 additions and 193 deletions

24
oxfmt.config.ts Normal file
View File

@@ -0,0 +1,24 @@
import { defineConfig } from 'oxfmt';
export default defineConfig({
ignorePatterns: [
'.direnv/**/*',
'.gitea/**/*',
'backend/**/*',
'**/*.toml',
'**/*.md',
'.sqlx/**/*',
],
printWidth: 120,
tabWidth: 2,
useTabs: false,
semi: true,
singleQuote: true,
trailingComma: 'es5',
sortTailwindcss: true,
sortPackageJson: true,
allowParens: 'always',
jsdoc: true,
sortImports: true,
vueIndentScriptAndStyle: false,
});