chore: update my account for contributions

Signed-off-by: Aramis <sennyeyaramis@gmail.com>
This commit is contained in:
Aramis
2024-02-16 18:19:45 -05:00
parent 7abc4837e1
commit 44c817ae23
2 changed files with 9 additions and 6 deletions
+5 -2
View File
@@ -32,7 +32,11 @@ const IGNORED_WHEN_LISTING = [
/^docs[/\\]reference[/\\]/,
];
const IGNORED_WHEN_EXPLICIT = [/^.*[/\\]knip-report\.md$/];
const IGNORED_WHEN_EXPLICIT = [
/^ADOPTERS\.md$/,
/^OWNERS\.md$/,
/^.*[/\\]knip-report\.md$/,
];
const rootDir = resolvePath(__dirname, '..');
@@ -120,7 +124,6 @@ async function main() {
const relativePaths = absolutePaths
.map(path => relativePath(rootDir, path))
.filter(path => !IGNORED_WHEN_EXPLICIT.some(pattern => pattern.test(path)));
const success = await runVale(
relativePaths.length === 0 ? await listFiles() : relativePaths,
);