🐛 fix(types): Checking

This commit is contained in:
web@ppanel
2024-11-26 19:21:37 +07:00
parent c7e50a9b84
commit 2992824353
34 changed files with 2085 additions and 3150 deletions
-18
View File
@@ -1,18 +0,0 @@
/** @type {import("eslint").Linter.Config} */
module.exports = {
root: true,
extends: ['@repo/eslint-config/react-internal.js'],
parser: '@typescript-eslint/parser',
parserOptions: {
project: './tsconfig.lint.json',
tsconfigRootDir: __dirname,
},
rules: {
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'no-redeclare': 'off',
'no-unused-vars': 'off',
'no-undef': 'off',
},
};
+23
View File
@@ -0,0 +1,23 @@
import { config } from '@repo/eslint-config/react-internal';
/** @type {import("eslint").Linter.Config} */
export default [
...config,
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-unsafe-function-type': 'off',
'@typescript-eslint/no-unused-expressions': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'react/prop-types': 'off',
'react/no-unknown-property': 'off',
'react-hooks/exhaustive-deps': 'off',
'react/jsx-no-target-blank': 'off',
'prefer-const': 'off',
'no-var': 'off',
'no-dupe-keys': 'off',
},
},
];
+14 -14
View File
@@ -26,7 +26,7 @@
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-dropdown-menu": "^2.1.2",
"@radix-ui/react-hover-card": "^1.1.2",
"@radix-ui/react-icons": "^1.3.1",
"@radix-ui/react-icons": "^1.3.2",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-menubar": "^1.1.2",
"@radix-ui/react-navigation-menu": "^1.2.1",
@@ -44,21 +44,21 @@
"@radix-ui/react-toggle": "^1.1.0",
"@radix-ui/react-toggle-group": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.4",
"@react-three/drei": "^9.116.0",
"@react-three/drei": "^9.117.3",
"@react-three/fiber": "^8.17.10",
"@tabler/icons-react": "^3.22.0",
"@tsparticles/engine": "^3.5.0",
"@tsparticles/engine": "^3.7.1",
"@tsparticles/react": "^3.0.0",
"@tsparticles/slim": "^3.5.0",
"class-variance-authority": "^0.7.0",
"@tsparticles/slim": "^3.7.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "1.0.4",
"cobe": "^0.6.3",
"date-fns": "^4.1.0",
"embla-carousel-react": "^8.3.1",
"framer-motion": "^11.11.16",
"embla-carousel-react": "^8.5.1",
"framer-motion": "^11.11.17",
"input-otp": "^1.4.1",
"lucide-react": "^0.456.0",
"lucide-react": "^0.461.0",
"mini-svg-data-uri": "^1.4.4",
"next-themes": "^0.4.3",
"qss": "^3.0.0",
@@ -66,21 +66,21 @@
"react-dropzone": "^14.3.5",
"react-hook-form": "^7.53.2",
"react-icons": "^5.3.0",
"react-resizable-panels": "^2.1.6",
"react-resizable-panels": "^2.1.7",
"recharts": "^2.13.3",
"simplex-noise": "^4.0.3",
"sonner": "^1.7.0",
"tailwind-merge": "^2.5.4",
"tailwind-merge": "^2.5.5",
"tailwindcss-animate": "^1.0.7",
"three": "^0.170.0",
"three-globe": "^2.34.4",
"three-globe": "^2.35.2",
"vaul": "^1.1.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@repo/eslint-config": "workspace:*",
"@repo/typescript-config": "workspace:*",
"@types/node": "^22.9.0",
"@types/node": "^22.10.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/three": "^0.170.0",
@@ -88,7 +88,7 @@
"next": "^15.0.3",
"postcss": "^8.4.49",
"react": "^18.3.1",
"tailwindcss": "^3.4.14",
"typescript": "^5.6.3"
"tailwindcss": "^3.4.15",
"typescript": "^5.7.2"
}
}
-8
View File
@@ -1,8 +0,0 @@
{
"compilerOptions": {
"outDir": "dist"
},
"exclude": ["node_modules", "dist"],
"extends": "@repo/typescript-config/react-library.json",
"include": ["src", "*.mjs", "*.ts"]
}