Skip to content

Commit

Permalink
Fix javascript exports
Browse files Browse the repository at this point in the history
  • Loading branch information
martonmiklos committed May 24, 2024
1 parent d78b278 commit 2988e1a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
- id: check-yaml
- id: mixed-line-ending
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.1
rev: v0.4.4
hooks:
- id: ruff-format
args: [--preview]
Expand All @@ -27,7 +27,7 @@ repos:
--preview
]
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.1.35
rev: 0.1.45
hooks:
- id: pip-compile
name: pip-compile requirements-dev.in
Expand Down Expand Up @@ -73,7 +73,7 @@ repos:
- "prettier@^2.4.1"
- "@trivago/prettier-plugin-sort-imports"
- repo: https://github.com/pre-commit/mirrors-eslint
rev: "v9.1.0"
rev: "v9.3.0"
hooks:
- id: eslint
additional_dependencies:
Expand Down
3 changes: 3 additions & 0 deletions src/backend/InvenTree/templates/js/translated/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@

/* exported
setupFilterList,
addTableFilter,
removeTableFilter,
reloadTableFilters
*/

/**
Expand Down
3 changes: 3 additions & 0 deletions src/backend/InvenTree/templates/js/translated/stock.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

/* globals
addCachedAlert,
addTableFilter,
baseCurrency,
calculateTotalPrice,
clearFormInput,
Expand Down Expand Up @@ -39,6 +40,8 @@
moment,
orderParts,
partDetail,
reloadTableFilters,
removeTableFilter,
renderClipboard,
renderDate,
renderLink,
Expand Down

0 comments on commit 2988e1a

Please sign in to comment.