chore(frontend): install and set up oxlint and oxfmt
This commit is contained in:
24
oxfmt.config.ts
Normal file
24
oxfmt.config.ts
Normal 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,
|
||||
});
|
||||
Reference in New Issue
Block a user