mirror of
https://github.com/tuono-labs/tuono
synced 2026-07-25 21:02:45 -07:00
fix: prettier package config
This commit is contained in:
@@ -0,0 +1 @@
|
||||
dist/
|
||||
@@ -3,5 +3,3 @@
|
||||
> Strongly inspired by [@tanstack/router/router-vite-plugin](https://github.com/TanStack/router/tree/main/packages/router-vite-plugin)
|
||||
|
||||
This is the [vite](https://vitejs.dev/) plugin that automatically handles the file system routing.
|
||||
|
||||
|
||||
|
||||
@@ -4,10 +4,9 @@
|
||||
"description": "",
|
||||
"main": "src/index.ts",
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
"build": "vite build",
|
||||
"lint": "eslint --ext .ts,.tsx ./src -c ../../.eslintrc",
|
||||
"format": "prettier --ignore-unknown '**/*'",
|
||||
"format": "prettier -u --write '**/*'",
|
||||
"test": "vitest --typecheck --watch=false",
|
||||
"types": "tsc --noEmit"
|
||||
},
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export const ImportedRoute(): JSX.Element => {
|
||||
return <h1>Imported route</h1>
|
||||
export const ImportedRoute = (): JSX.Element => {
|
||||
return <h1>Imported route</h1>
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export default function Route(): JSX.Element {
|
||||
return <h1>Test route</h1>;
|
||||
}
|
||||
return <h1>Test route</h1>
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
function PostsRoute() {
|
||||
return <h1>Post route</h1>;
|
||||
return <h1>Post route</h1>
|
||||
}
|
||||
export default PostsRoute;
|
||||
export default PostsRoute
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
import { ImportedRoute } from '../shared/imported';
|
||||
export default ImportedRoute;
|
||||
import { ImportedRoute } from '../shared/imported'
|
||||
export default ImportedRoute
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"include": ["src", "vite.config.ts", "tests"],
|
||||
"exclude": ["tests/test-files/**", "tests/snapshots/**"],
|
||||
"compilerOptions": {
|
||||
"jsx": "react",
|
||||
},
|
||||
"jsx": "react"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user