Skip to content
Snippets Groups Projects
Commit ba4963fc authored by Erica Xu's avatar Erica Xu
Browse files

Add GitHub action to lint JSON

parent 3e3149b6
No related branches found
No related tags found
No related merge requests found
# copied from Liam's workflows
name: CI
on:
push:
branches:
- "master"
pull_request:
branches:
- "master"
jobs:
lint-json:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install modules
run: npm install
- name: Lint
run: yarn run lint
\ No newline at end of file
{
"name": "obsidian-community-releases",
"scripts": {
"lint": "eslint . --ext .json"
},
"devDependencies": {
"eslint": "7.20.0",
"eslint-plugin-json": "2.1.2"
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment