From 803477f2adb104012634daa271f6ccfa858026b5 Mon Sep 17 00:00:00 2001 From: xibz Date: Tue, 16 Apr 2024 08:52:05 -0500 Subject: [PATCH] Add other rules Signed-off-by: xibz --- .github/linters/.eslintrc.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/linters/.eslintrc.yml b/.github/linters/.eslintrc.yml index 41ae6ac2..39da2e9b 100644 --- a/.github/linters/.eslintrc.yml +++ b/.github/linters/.eslintrc.yml @@ -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