mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-04 12:13:27 +00:00
Merge pull request #18 from Harry-Hopkinson/check-code-matches-lint
Add a lint-checker script
This commit is contained in:
commit
c8ca914514
20
.github/workflows/lint.yml
vendored
Normal file
20
.github/workflows/lint.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: Linter
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [14, 15, 16]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Code Linting
|
||||
run: |
|
||||
npm install prettier -g
|
||||
prettier --check .
|
Loading…
Reference in a new issue