From 9b14d9f70bca5d1c1138117500d8ae0464d24e21 Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Sat, 1 Apr 2023 23:04:23 +0800 Subject: [PATCH] chore: update eslint report script --- .scripts/merge-eslint-reports.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.scripts/merge-eslint-reports.js b/.scripts/merge-eslint-reports.js index e6da18e53..c147fcf30 100644 --- a/.scripts/merge-eslint-reports.js +++ b/.scripts/merge-eslint-reports.js @@ -2,11 +2,11 @@ import fs from 'fs'; const directories = [ ...fs.readdirSync('./packages'), - ...fs.readdirSync('./packages/toolkit').map((dir) => 'toolkit/' + dir) + ...fs.readdirSync('./packages/toolkit').map((dir) => 'toolkit/' + dir), ]; const reports = directories // Filter out unavailable paths - .filter((dir) => !['create', 'toolkit'].includes(dir) && !dir.includes('.')) + .filter((dir) => !['create', 'toolkit', 'connectors'].includes(dir) && !dir.includes('.')) .map((dir) => fs.readFileSync(`./packages/${dir}/report.json`, { encoding: 'utf-8' })); const merged = [];