Skip to content

Conversation

@ManAnRuck
Copy link
Member

This pull request includes various changes across multiple files to improve code consistency, update dependencies, and refactor code. The most significant changes include updates to ESLint configuration, removal of unused imports, and refactoring of type definitions.

Code Consistency and Configuration:

  • .eslintrc.js: Updated ESLint configuration to include additional ignore patterns for generated files and node_modules directory.

Code Refactoring:

Removal of Unused Imports:

Navigation Update:

Type Definition Update:

Manuel Ruck added 2 commits March 16, 2025 17:46
Signed-off-by: Manuel Ruck <[email protected]>
@ManAnRuck ManAnRuck added this to the Legislaturperiode 21 milestone Mar 16, 2025
@ManAnRuck ManAnRuck requested a review from Copilot March 16, 2025 16:47
@ManAnRuck ManAnRuck self-assigned this Mar 16, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request addresses various TypeScript issues by refactoring type definitions, updating the ESLint configuration for code consistency, and removing unused imports. Key changes include updates in ESLint ignore patterns, refactored types from Slide to SlideProps across multiple files, and adjustments to navigation handling and import cleanup.

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.eslintrc.js Updated ESLint config with additional ignore patterns
src/types/navigation.ts Changed TypedRoutes from an interface to a type alias for AppRoutes
src/screens/WahlOMeter/Bundestag/index.tsx Updated navigation to use an object with pathname and params
src/screens/Introduction/utils/getSlides.ts Refactored to use SlideProps and standardized double quotes
src/screens/Introduction/components/data/index.ts Updated type definitions to use SlideProps with consistent quoting
src/app/(sidebar)/_layout.tsx Removed unused import and related code
src/screens/Search/Results.tsx Removed unused imports from react-navigation and native-stack components

@ManAnRuck ManAnRuck merged commit 39b6c33 into main Mar 16, 2025
5 checks passed
@ManAnRuck ManAnRuck deleted the fix-typescript-issues branch March 16, 2025 16:49
@github-project-automation github-project-automation bot moved this to 🚀 Shipped in Democracy Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🚀 Shipped

Development

Successfully merging this pull request may close these issues.

2 participants