mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
* feat(ci/dev): adding npm/eslint config for javascript linting * feat(ci/dev): adding js-prettier config for consistency in formatting * fix(css): linting * fix(js): linting the js things
22 lines
413 B
YAML
22 lines
413 B
YAML
---
|
|
name: Javascript Linting
|
|
"on":
|
|
- push
|
|
- pull_request
|
|
jobs:
|
|
javascript_lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Run ESLint to check Javascript files
|
|
run:
|
|
make eslint
|
|
javascript_fmt:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Run Prettier to check Javascript files
|
|
run:
|
|
make prettier
|
|
|