prettier
parent
2977b96725
commit
b569488452
@ -1,4 +1,3 @@
|
||||
// .vscode/settings.json
|
||||
{
|
||||
"typescript.tsdk": "node_modules/typescript/lib"
|
||||
}
|
||||
|
@ -0,0 +1,17 @@
|
||||
/** @typedef {import("prettier").Config} PrettierConfig */
|
||||
|
||||
/** @type { PrettierConfig | SortImportsConfig } */
|
||||
const config = {
|
||||
arrowParens: "always",
|
||||
printWidth: 80,
|
||||
singleQuote: false,
|
||||
semi: true,
|
||||
trailingComma: "all",
|
||||
tabWidth: 2,
|
||||
plugins: [
|
||||
"@ianvs/prettier-plugin-sort-imports",
|
||||
"prettier-plugin-tailwindcss",
|
||||
],
|
||||
};
|
||||
|
||||
module.exports = config;
|
@ -1,2 +1,2 @@
|
||||
export { todos } from "./todos";
|
||||
export * from "./auth"
|
||||
export * from "./auth";
|
||||
|
@ -1,5 +1,5 @@
|
||||
import Elysia from "elysia";
|
||||
import { index } from "./index";
|
||||
import { authGroup } from "./(auth)/*";
|
||||
import { index } from "./index";
|
||||
|
||||
export const pages = new Elysia().use(index).use(authGroup);
|
||||
|
Loading…
Reference in New Issue