init
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "../../node_modules/oxlint/configuration_schema.json",
|
||||
"extends": ["../../.oxlintrc.json"],
|
||||
"plugins": ["react", "jsx-a11y"],
|
||||
"env": {
|
||||
"browser": true
|
||||
},
|
||||
"ignorePatterns": ["src/routeTree.gen.ts"],
|
||||
"rules": {
|
||||
"react/rules-of-hooks": "error",
|
||||
"react/exhaustive-deps": "warn"
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
// @ts-check
|
||||
|
||||
import { tanstackConfig } from '@tanstack/eslint-config';
|
||||
|
||||
export default [
|
||||
...tanstackConfig,
|
||||
{
|
||||
rules: {
|
||||
'import/no-cycle': 'off',
|
||||
'import/order': 'off',
|
||||
'import/consistent-type-specifier-style': 'off',
|
||||
'sort-imports': 'off',
|
||||
'@typescript-eslint/array-type': 'off',
|
||||
'@typescript-eslint/require-await': 'off',
|
||||
'pnpm/json-enforce-catalog': 'off',
|
||||
},
|
||||
},
|
||||
{
|
||||
ignores: ['eslint.config.js', '.prettierrc'],
|
||||
},
|
||||
];
|
||||
@@ -8,17 +8,17 @@
|
||||
"generate-routes": "tsr generate",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint",
|
||||
"lint": "oxlint",
|
||||
"format": "prettier --write \"**/*.{ts,tsx}\"",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@repo/ui": "workspace:*",
|
||||
"@tailwindcss/vite": "^4",
|
||||
"@tanstack/react-devtools": "latest",
|
||||
"@tanstack/react-router": "latest",
|
||||
"@tanstack/react-router-devtools": "latest",
|
||||
"@tanstack/react-start": "latest",
|
||||
"@repo/ui": "workspace:*",
|
||||
"lucide-react": "^1.84.0",
|
||||
"react": "^19.3.1",
|
||||
"react-dom": "^19.3.1",
|
||||
@@ -26,13 +26,11 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tanstack/devtools-vite": "latest",
|
||||
"@tanstack/eslint-config": "latest",
|
||||
"@tanstack/router-cli": "^1.168.0",
|
||||
"@types/node": "^22",
|
||||
"@types/react": "^19",
|
||||
"@types/react-dom": "^19",
|
||||
"@vitejs/plugin-react": "^6",
|
||||
"eslint": "^10",
|
||||
"typescript": "^6.0.2",
|
||||
"vite": "^8"
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"include": [
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
"eslint.config.js",
|
||||
"prettier.config.js",
|
||||
"vite.config.ts"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user