Skip to content

Commit

Permalink
Add other rules
Browse files Browse the repository at this point in the history
Signed-off-by: xibz <impactbchang@gmail.com>
  • Loading branch information
xibz committed Apr 16, 2024
1 parent 7eab28d commit 803477f
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/linters/.eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,18 @@ overrides:
- files: "*.json"
parser: "jsonc-eslint-parser"
rules:
# These are the set of rules that belong to jsonc. For more information,
# https://ota-meshi.github.io/eslint-plugin-jsonc/rules
jsonc/comma-dangle:
- error
jsonc/indent:
- error
- 2
jsonc/key-name-casing:
- error
- camelCase: true
snake_case: false
- error
- camelCase: true
snake_case: false
jsonc/key-spacing:
- error
jsonc/no-dupe-keys:
- error

0 comments on commit 803477f

Please sign in to comment.