Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: xibz <[email protected]>
  • Loading branch information
xibz committed Apr 16, 2024
1 parent c13a7bb commit 66abebe
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
plugins:
- jsonc
overrides:
- files: "*.json"
parser: "jsonc-eslint-parser"
rules:
jsonc/key-name-casing:
- error
- camelCase: true
snake_case: false
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Install dependencies
run: npm install --save-dev eslint eslint-plugin-jsonc
- name: Checkout Code
uses: actions/checkout@v3
with:
Expand All @@ -31,6 +33,7 @@ jobs:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_MARKDOWN: true
VALIDATE_JSON: true

jsonschema:
name: Validate Examples
Expand Down

0 comments on commit 66abebe

Please sign in to comment.