LINT ALL THE THINGS

This commit is contained in:
Oliver 2021-09-04 09:08:46 +10:00
parent 42637ddefa
commit c7d6b985bd

View File

@ -40,11 +40,15 @@ jobs:
invoke install
invoke static
- name: Check HTML Files
# TODO: Run these checks on *ALL* templated HTML files
run: |
npm install markuplint
npm markuplint InvenTree/build/templates/build/*.html
npm markuplint InvenTree/common/templates/common/*.html
npm markuplint InvenTree/company/templates/company/*.html
npm markuplint InvenTree/order/templates/order/*.html
npm markuplint InvenTree/part/templates/part/*.html
npm markuplint InvenTree/stock/templates/stock/*.html
npx markuplint InvenTree/templates/*.html
npx markuplint InvenTree/templates/InvenTree/*.html
npx markuplint InvenTree/templates/InvenTree/settings/*.html
npm markuplint InvenTree/part/templates/part/*.html