Closed hcavarsan closed 4 months ago
The recent updates aim to enhance code readability, maintainability, and organization across various files. Changes include adjusting ESLint rules for improved code quality checks, restructuring imports for better organization, refining function and method signatures, adding new functionalities, and enhancing error handling and logging to elevate software quality and developer experience.
Files | Change Summary |
---|---|
.eslintrc.cjs |
Updated parser settings, modified complexity and length rules, adjusted import sorting, and disabled specific linting rules. |
kftray-server/src/.../http_proxy.rs |
Reformatted function parameters for better readability. |
src-tauri/src/commands.rs , src-tauri/src/kubeforward/kubecontext.rs , src-tauri/src/kubeforward/mod.rs , src-tauri/src/kubeforward/pod_selection.rs , src-tauri/src/kubeforward/port_forward.rs , src-tauri/src/kubeforward/proxy.rs , src-tauri/src/logging.rs , src-tauri/src/main.rs , src-tauri/src/models/config.rs , src-tauri/src/models/kube.rs , src-tauri/src/models/response.rs , src-tauri/src/remote_config.rs , src-tauri/src/tray.rs |
Enhanced import structuring, modified function signatures, added new functionalities, and improved error handling and logging. |
src/components/AddConfigModal/index.tsx , src/components/KFtray/index.tsx , src/components/PortForwardRow/index.tsx , src/components/PortForwardSearchTable/index.tsx , src/components/PortForwardTable/index.tsx , src/components/SyncConfigsButton/index.tsx |
Adjusted component properties, improved state handling, and updated rendering logic based on component state. |
utils/bump_version.rs |
Enhanced version bump processes with better logging and error handling. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
feat: improve lint and fix minor bugs with the new lint configuration