Skip to content

[New Package] Kavita #6967

[New Package] Kavita

[New Package] Kavita #6967

Workflow file for this run

name: Lint
on:
pull_request:
paths-ignore:
- "**.md"
push:
paths-ignore:
- "**.md"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Lint
run: |
npm install jsonlint
find spk/ \
-not -path "*work*" \
-not -path "spk/transmission/src/settings.json" \
-not -path "*/wizard_templates/install_uifile" \
-not -path "*/wizard_templates/upgrade_uifile" \
-regextype posix-extended \
-regex '.*(\.json|install_uifile\w*|upgrade_uifile\w*|app/config)' \
| xargs -i node_modules/jsonlint/lib/cli.js -q -c {};