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