Use pinned eslint version (#6968)

* pin eslint version

* use subdir instead

* move eslint
This commit is contained in:
Matthias Mair 2024-04-06 04:27:13 +01:00 committed by GitHub
parent 6bff55d620
commit 3457eebf5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ jobs:
- name: Lint Javascript Files
run: |
python src/backend/InvenTree/manage.py prerender
npx eslint src/backend/InvenTree/InvenTree/static_i18n/i18n/*.js
cd src/backend && npx eslint InvenTree/InvenTree/static_i18n/i18n/*.js
pre-commit:
name: Style [pre-commit]