Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 0 additions & 123 deletions tools/src/main/js/linter/checks/additional-properties-false.check.js

This file was deleted.

10 changes: 4 additions & 6 deletions tools/src/main/js/linter/checks/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* CycloneDX Schema Linter - Check Module Loader
*
*
* This module loads all check modules from the checks directory.
* Each check is automatically registered with the linter.
*
*
* @license Apache-2.0
*/

Expand All @@ -21,7 +21,7 @@ export async function loadAllChecks() {
const checkFiles = readdirSync(__dirname).filter(
file => file.endsWith('.check.js')
);

const loadPromises = checkFiles.map(async file => {
const modulePath = join(__dirname, file);
try {
Expand All @@ -30,7 +30,7 @@ export async function loadAllChecks() {
console.error(`Failed to load check module ${file}: ${err.message}`);
}
});

await Promise.all(loadPromises);
}

Expand All @@ -47,9 +47,7 @@ export * from './property-name-american-english.check.js';
export * from './description-oxford-english.check.js';
export * from './no-uppercase-rfc.check.js';
export * from './no-must-word.check.js';
export * from './additional-properties-false.check.js';
export * from './title-formatting.check.js';
export * from './enum-value-formatting.check.js';
export * from './ref-usage.check.js';
export * from './duplicate-content.check.js';
export * from './duplicate-definitions.check.js';
142 changes: 0 additions & 142 deletions tools/src/main/js/linter/checks/ref-usage.check.js

This file was deleted.