Skip to content

Commit 798cf5f

Browse files
ci(jsonlint): add JSON linting (reanahub#301)
1 parent dd2826f commit 798cf5f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+87
-63
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,20 @@ jobs:
114114
pip install check-manifest
115115
./run-tests.sh --check-manifest
116116
117+
lint-jsonlint:
118+
runs-on: ubuntu-24.04
119+
steps:
120+
- name: Checkout
121+
uses: actions/checkout@v4
122+
123+
- name: Setup Node
124+
uses: actions/setup-node@v4
125+
126+
- name: Lint JSON files
127+
run: |
128+
npm install jsonlint --global
129+
./run-tests.sh --check-jsonlint
130+
117131
format-shfmt:
118132
runs-on: ubuntu-24.04
119133
steps:

.release-please-config.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@
55
".": {
66
"changelog-sections": [
77
{ "type": "build", "section": "Build", "hidden": false },
8-
{ "type": "feat", "section": "Features", "hidden": false },
8+
{ "type": "feat", "section": "Features", "hidden": false },
99
{ "type": "fix", "section": "Bug fixes", "hidden": false },
10-
{ "type": "perf", "section": "Performance improvements", "hidden": false },
10+
{
11+
"type": "perf",
12+
"section": "Performance improvements",
13+
"hidden": false
14+
},
1115
{ "type": "refactor", "section": "Code refactoring", "hidden": false },
1216
{ "type": "style", "section": "Code style", "hidden": false },
1317
{ "type": "test", "section": "Test suite", "hidden": false },

badges/v1.0/command_line_tool.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"subject": "command_line_tool", "status": "86%", "color": "yellow"}
1+
{ "subject": "command_line_tool", "status": "86%", "color": "yellow" }

badges/v1.0/docker.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"subject": "docker", "status": "62%", "color": "yellow"}
1+
{ "subject": "docker", "status": "62%", "color": "yellow" }

badges/v1.0/env_var.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"subject": "env_var", "status": "100%", "color": "green"}
1+
{ "subject": "env_var", "status": "100%", "color": "green" }

badges/v1.0/expression_tool.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"subject": "expression_tool", "status": "100%", "color": "green"}
1+
{ "subject": "expression_tool", "status": "100%", "color": "green" }

badges/v1.0/initial_work_dir.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"subject": "initial_work_dir", "status": "69%", "color": "yellow"}
1+
{ "subject": "initial_work_dir", "status": "69%", "color": "yellow" }

badges/v1.0/inline_javascript.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"subject": "inline_javascript", "status": "94%", "color": "yellow"}
1+
{ "subject": "inline_javascript", "status": "94%", "color": "yellow" }

badges/v1.0/multiple_input.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"subject": "multiple_input", "status": "100%", "color": "green"}
1+
{ "subject": "multiple_input", "status": "100%", "color": "green" }

badges/v1.0/required.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"subject": "required", "status": "94%", "color": "red"}
1+
{ "subject": "required", "status": "94%", "color": "red" }

0 commit comments

Comments
 (0)