Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: lint

on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
types:
- opened
- synchronize

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Lint JSON and YAML files
id: json-yaml-validate
uses: GrantBirki/json-yaml-validate@v3.3.2
with:
comment: "true" # enable comment mode
3 changes: 3 additions & 0 deletions biomeV2.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@
"noUnusedImports": "error",
"noUnusedFunctionParameters": "error",
"noUnusedPrivateClassMembers": "error"
},
"nursery": {
"noImportCycles": "error"
}
},
"includes": [
Expand Down
Loading