Skip to content

Improve Code Style and Config, Plus Minor Refactoring #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 3, 2025

Conversation

monkey0722
Copy link
Owner

This pull request includes several changes to improve code quality and maintainability, particularly focusing on code style consistency and configuration updates. The most important changes include updates to the eslint configuration, modifications to the package.json file, and minor code refactoring in the bellmanFordSearch.ts file.

Code Style Consistency:

  • eslint.config.js: Updated the syntax to use single quotes instead of double quotes for consistency.

Configuration Updates:

  • package.json: Added a description to the project and updated the prettier script to include .js files.
  • package.json: Moved typescript from dependencies to devDependencies.
  • package.json: Modified the jest transform configuration to include tsconfig.json.

Code Refactoring:

  • bellmanFordSearch.ts: Removed redundant comments and improved code readability by directly initializing distances.

@monkey0722 monkey0722 self-assigned this Jan 3, 2025
@monkey0722 monkey0722 merged commit d110b06 into main Jan 3, 2025
1 check passed
@monkey0722 monkey0722 deleted the refactoring-0103 branch January 3, 2025 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant