scripts/validate-instance-configuration.tsx
Function maybeDisplayInvalidInstanceConfigurationMessage
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function maybeDisplayInvalidInstanceConfigurationMessage() {
const issues: Array<React.ReactNode> = [];
ng.get('vocabularies').getAllActiveVocabularies().then((vocabularies) => {
const categoriesMissing = vocabularies.find(({_id}) => _id === 'categories') == null;