Tunglies
1176f8c863
feat: refactor app data provider and context for improved data management and performance
2025-10-04 21:20:31 +08:00
renovate[bot]
8b3bc18ea8
chore(deps): update dependency eslint-plugin-react-hooks to v6 ( #4940 )
...
* chore(deps): update dependency eslint-plugin-react-hooks to v6
* fix: update ESLint configuration to use correct imports and recommended settings
* chore: clean up unused code and improve readability across components
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com >
2025-10-04 19:42:34 +08:00
Sukka
fb5d5a7d37
chore(eslint): replace eslint-plugin-react w/ eslint-react ( #4844 )
...
* chore(eslint): replace `eslint-plugin-react` w/ `eslint-react`
* chore(eslint): replace `eslint-plugin-import` w/ `import-x`
2025-09-24 13:25:22 +08:00
Tunglies
e414b49879
Refactor imports across multiple components for consistency and clarity
...
- Reorganized import statements in various components to ensure consistent ordering and grouping.
- Removed unnecessary imports and added missing ones where applicable.
- Improved readability and maintainability of the codebase by standardizing import styles.
2025-09-19 00:01:04 +08:00
Tunglies
627119bb22
Refactor imports and improve code organization across multiple components and hooks
...
- Consolidated and reordered imports in various files for better readability and maintainability.
- Removed unused imports and ensured consistent import styles.
- Enhanced the structure of components by grouping related imports together.
- Updated the layout and organization of hooks to streamline functionality.
- Improved the overall code quality by following best practices in import management.
2025-09-18 23:34:38 +08:00
Tunglies
74ade3ee41
refactor: update ESLint configuration and improve lint command with cache
2025-09-18 23:13:13 +08:00
Tunglies
324628dd3d
refactor: replace 'let' with 'const' for better variable scoping and immutability
2025-09-18 23:07:18 +08:00
TianHua Liu
a995a13163
chore: use jsx-runtime presets of eslint-plugin-react ( #4794 )
2025-09-18 19:04:12 +08:00
Tunglies
72e4491dc4
Implement code changes to enhance functionality and improve performance
2025-08-22 19:56:51 +08:00
Tunglies
475a09bb54
feat: comprehensive oxlint cleanup - remove unused code
...
🧹 Cleanup Summary:
- Fixed 83 oxlint warnings across 50+ files
- Removed unused imports, variables, and functions
- Maintained all functional code and error handling
- Improved bundle size and code maintainability
📝 Key Changes:
- Cleaned unused React hooks (useState, useEffect, useClashInfo)
- Removed unused Material-UI imports (useTheme, styled components)
- Deleted unused interfaces and type definitions
- Fixed spread operator usage and boolean casting
- Simplified catch parameters where appropriate
🎯 Files Modified:
- React components: home.tsx, settings, profiles, etc.
- Custom hooks: use-*.ts files
- Utility functions and type definitions
- Configuration files
✅ Result: 0 oxlint warnings (from 83 warnings)
🔧 All functionality preserved
📦 Reduced bundle size through dead code elimination
2025-08-22 18:48:56 +08:00