chore(eslint): lint:fix on all packages (#7941)
- Run `lint:fix` on all packages to fix anything that may have slipped through without being autofixed - A few manual fixes as well.
This commit is contained in:
@@ -77,12 +77,12 @@ describe('reservedFieldNames - collections -', () => {
|
||||
describe('auth -', () => {
|
||||
const collectionWithAuth: CollectionConfig = {
|
||||
slug: 'collection-with-auth',
|
||||
fields: [],
|
||||
auth: {
|
||||
verify: true,
|
||||
useAPIKey: true,
|
||||
loginWithUsername: true,
|
||||
useAPIKey: true,
|
||||
verify: true,
|
||||
},
|
||||
fields: [],
|
||||
}
|
||||
|
||||
it('should throw on hash', async () => {
|
||||
|
||||
@@ -276,7 +276,7 @@ export const promise = async <T>({
|
||||
if (typeof siblingData[field.name] === 'undefined') {
|
||||
// If no incoming data, but existing document data is found, merge it in
|
||||
if (typeof siblingDoc[field.name] !== 'undefined') {
|
||||
siblingData[field.name] = cloneDataFromOriginalDoc(siblingDoc[field.name] as any)
|
||||
siblingData[field.name] = cloneDataFromOriginalDoc(siblingDoc[field.name])
|
||||
|
||||
// Otherwise compute default value
|
||||
} else if (typeof field.defaultValue !== 'undefined') {
|
||||
|
||||
Reference in New Issue
Block a user