diff --git a/.eslintrc.cjs b/.eslintrc.cjs index d6c9537..4926478 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -3,8 +3,11 @@ module.exports = { env: { browser: true, es2020: true }, extends: [ 'eslint:recommended', - 'plugin:@typescript-eslint/recommended', + 'plugin:@typescript-eslint/strict-type-checked', + 'plugin:@typescript-eslint/stylistic-type-checked', 'plugin:react-hooks/recommended', + 'plugin:react/recommended', + 'plugin:react/jsx-runtime', ], ignorePatterns: ['dist', '.eslintrc.cjs'], parser: '@typescript-eslint/parser', diff --git a/bun.lockb b/bun.lockb index 591e81d..118d3c4 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 0f7b607..5cd1dc4 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "@typescript-eslint/parser": "^7.13.1", "@vitejs/plugin-react-swc": "^3.5.0", "eslint": "^8.57.0", + "eslint-plugin-react": "^7.34.3", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-react-refresh": "^0.4.7", "typescript": "^5.2.2",