From 3457eebf5c5364b699249971697e751028de784f Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Sat, 6 Apr 2024 04:27:13 +0100 Subject: [PATCH] Use pinned eslint version (#6968) * pin eslint version * use subdir instead * move eslint --- .github/workflows/qc_checks.yaml | 2 +- .eslintrc.yml => src/backend/.eslintrc.yml | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename .eslintrc.yml => src/backend/.eslintrc.yml (100%) diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml index 2eb77438e7..41817ca72b 100644 --- a/.github/workflows/qc_checks.yaml +++ b/.github/workflows/qc_checks.yaml @@ -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] diff --git a/.eslintrc.yml b/src/backend/.eslintrc.yml similarity index 100% rename from .eslintrc.yml rename to src/backend/.eslintrc.yml