Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAfroOfDoom committed Jan 8, 2024
1 parent 2043434 commit 4437e54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package-scripts/run-linting-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const argv = minimist(process.argv.slice(2));
const rules = globSync('./package-scripts/linting-rules/*.js').map((rulePath) =>
require(`${process.cwd()}/${rulePath}`),
);
console.log(rules.map(({ name }) => name));

const main = () => {
if (typeof argv.glob === 'undefined') {
Expand All @@ -17,6 +16,8 @@ const main = () => {
let errorCount = 0;
const files = globSync(argv.glob);

console.log({ files, rules });

for (const file of files) {
const errors = [];
for (const rule of rules) {
Expand Down

0 comments on commit 4437e54

Please sign in to comment.