Skip to content

v2.2.0: Enhanced Code Quality and Additional Test Cases

Compare
Choose a tag to compare
@AsyrafHussin AsyrafHussin released this 26 Aug 19:04
· 560 commits to main since this release
909777d

This update brings multiple enhancements and new features aimed at code quality, performance, and developer experience.

New Features

  • New test cases for findPostcode, findCities, getCities, and getPostcodes functions.
  • Type and null checks for all function parameters have been added for more robust code.

Code Quality

  • Introduced Prettier and ESLint for better code formatting and linting.
  • Husky pre-commit and pre-push hooks have been updated for better code quality checks.

Improvements

  • Test descriptions for findCities have been refactored for better readability.

Maintenance

  • .npmignore has been added to exclude test and examples folders from the NPM package.

We strongly recommend all users to update to this new version for an improved experience.