Fix linting issues
This commit is contained in:
@@ -17,7 +17,9 @@ jobs:
|
|||||||
ssh-key: ${{ secrets.SSH_JOHN_PRIVATE_KEY }}
|
ssh-key: ${{ secrets.SSH_JOHN_PRIVATE_KEY }}
|
||||||
- name: Install linters
|
- name: Install linters
|
||||||
run: |
|
run: |
|
||||||
|
npm init -y
|
||||||
npm install htmlhint stylelint stylelint-config-standard eslint
|
npm install htmlhint stylelint stylelint-config-standard eslint
|
||||||
|
npm pkg set type="module"
|
||||||
- name: Lint HTML
|
- name: Lint HTML
|
||||||
run: ./node_modules/.bin/htmlhint "./SmartClinicManagementSystem/app/src/main/resources/static/pages//*.html" || true
|
run: ./node_modules/.bin/htmlhint "./SmartClinicManagementSystem/app/src/main/resources/static/pages//*.html" || true
|
||||||
- name: Lint CSS
|
- name: Lint CSS
|
||||||
|
|||||||
Reference in New Issue
Block a user