easy-invoice-pdf/lint-staged.config.js
Vlad Sazonau 88860d0e40
fix: delete invoice item flow (#180)
* chore: fixed invoice item deletion flow

* Removed deprecated dependency @microlink/react-json-view from package.json.
* Upgraded knip dependency from version 5.55.1 to 5.85.0 for better performance.
* Increased timeout for expect assertions in Playwright configuration from 10,000ms to 15,000ms for improved test reliability.
* Enhanced invoice item deletion process by implementing a confirmation dialog, ensuring user clarity before item removal.

* fix: enhance invoice item deletion confirmation and update e2e tests for accuracy

* Improved the confirmation dialog for deleting invoice items to display the correct item name.
* Updated e2e tests to ensure accurate calculations of totals for multiple invoice items, including adjustments for quantity, price, and VAT rates.
* Enhanced visibility checks for calculated values in the invoice form tests to ensure reliability.

* chore: update dependencies and refactor code for improved clarity

* Added shadcn to the ignoreDependencies list in knip configuration.
* Removed deprecated @react-email/components and @react-email/tailwind from package.json and pnpm-lock.yaml.
* Refactored several exported functions to internal functions in various components for better encapsulation.
* Deleted unused confirm-subscription email component to streamline the codebase.
* Updated rate-limit.ts by removing unused email limiter logic and related types.
2026-03-02 01:47:41 +01:00

10 lines
234 B
JavaScript

module.exports = {
// Run type-check on all changes to files
// https://github.com/okonet/lint-staged
"*": () => [
`pnpm run type-check:go`,
`pnpm run lint`,
`pnpm run knip`,
`pnpm run prettify --write`,
],
};