From 675d7eeb707e11ba46c97eeeae3aadc495a83007 Mon Sep 17 00:00:00 2001 From: AlCalzone Date: Mon, 30 Oct 2023 12:10:53 +0100 Subject: [PATCH] chore: lint device config files as part of CI (#6471) --- .../config/devices/0x0086/templates/aeotec_template.json | 2 +- packages/config/package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/config/config/devices/0x0086/templates/aeotec_template.json b/packages/config/config/devices/0x0086/templates/aeotec_template.json index 0f0164353e8e..fa01a31fdedc 100644 --- a/packages/config/config/devices/0x0086/templates/aeotec_template.json +++ b/packages/config/config/devices/0x0086/templates/aeotec_template.json @@ -1679,7 +1679,7 @@ ] }, "association_group_2_command_type": { - "label": "Association Group 2: Command Type ", + "label": "Association Group 2: Command Type", "valueSize": 1, "defaultValue": 2, "unsigned": true, diff --git a/packages/config/package.json b/packages/config/package.json index 20d9c4741b23..35cc6ee4b359 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -47,9 +47,9 @@ "build": "tsc -b tsconfig.build.json --pretty", "clean": "del-cli build/ \"*.tsbuildinfo\"", "extract-api": "yarn api-extractor run", - "lint:zwave": "yarn ts maintenance/lintConfigFiles.ts", + "lint:zwave": "yarn ts maintenance/lintConfigFiles.ts && eslint --cache --cache-location .eslintcache/config --ext .json \"config/devices/**/*.json\"", "ts": "node -r esbuild-register", - "lint:ts": "eslint --cache --ext .ts \"src/**/*.ts\"", + "lint:ts": "eslint --cache --cache-location .eslintcache/ts --ext .ts \"src/**/*.ts\"", "lint:ts:fix": "yarn run lint:ts --fix", "test:ts": "ava", "test:dirty": "node -r ../../maintenance/esbuild-register.js ../maintenance/src/resolveDirtyTests.ts --run"