Using prettier for linting

This commit is contained in:
Zac Ioannidis
2020-12-08 13:13:50 +00:00
parent fa329066e4
commit 81e00fd917
111 changed files with 3986 additions and 3294 deletions

View File

@@ -1,18 +1,18 @@
import Joi from 'joi'
import Joi from "joi";
const sourceSchema = Joi.object().keys({
id: Joi.string().required(),
title: Joi.string().allow(''),
thumbnail: Joi.string().allow(''),
title: Joi.string().allow(""),
thumbnail: Joi.string().allow(""),
paths: Joi.array().required(),
type: Joi.string().allow(''),
affil_s: Joi.array().allow(''),
url: Joi.string().allow(''),
description: Joi.string().allow(''),
parent: Joi.string().allow(''),
author: Joi.string().allow(''),
date: Joi.string().allow(''),
notes: Joi.string().allow('')
})
type: Joi.string().allow(""),
affil_s: Joi.array().allow(""),
url: Joi.string().allow(""),
description: Joi.string().allow(""),
parent: Joi.string().allow(""),
author: Joi.string().allow(""),
date: Joi.string().allow(""),
notes: Joi.string().allow(""),
});
export default sourceSchema
export default sourceSchema;