mirror of
https://github.com/tuono-labs/tuono
synced 2026-07-25 12:52:47 -07:00
feat: add lint and format scripts
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# [Tuono] Vite FS Router
|
||||
|
||||
> 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.
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "vite-fs-router",
|
||||
"version": "0.1.0",
|
||||
"description": "",
|
||||
"main": "src/index.js",
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .ts,.tsx ./src -c ../../eslintrc.cjs",
|
||||
"format": "prettier --ignore-unknown '**/*'"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "Valerio Ageno",
|
||||
"license": "MIT"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"include": ["src", "vite.config.ts", "tests"],
|
||||
"exclude": ["tests/test-files/**", "tests/snapshots/**"],
|
||||
"compilerOptions": {
|
||||
"jsx": "react",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user