diff --git a/merge-eslint-reports.js b/merge-eslint-reports.js index 5408f6c06..2012ec7d1 100644 --- a/merge-eslint-reports.js +++ b/merge-eslint-reports.js @@ -3,7 +3,7 @@ const fs = require('fs'); const directories = fs.readdirSync('./packages'); const reports = directories // Filter out docs temporarily - .filter((dir) => ['docs', 'create'].includes(dir)) + .filter((dir) => !['docs', 'create'].includes(dir)) .map((dir) => fs.readFileSync(`./packages/${dir}/report.json`, { encoding: 'utf-8' })); const merged = [];