Skip to content

Commit

Permalink
fix lint violations
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Jul 27, 2021
1 parent 36ed758 commit 3b70e54
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions packages/__tests__/src/event-render/event-render-hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ describe('eventContent', () => {
initialDate: '2021-01-07',
views: {
dayGridWeek: {
eventContent: function (info) {
var eventWrapper = document.createElement('div')
eventContent() {
let eventWrapper = document.createElement('div')
eventWrapper.innerText = 'test dayGridWeek'
var arrayOfDomNodes = [eventWrapper]
let arrayOfDomNodes = [eventWrapper]
return { domNodes: arrayOfDomNodes }
}
},
},
},
events: [
Expand Down
2 changes: 1 addition & 1 deletion packages/common/src/common/render-hook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class ContentHookInner<HookProps> extends BaseComponent<ContentHookInnerProps<Ho
customContentInfo = this.customContentInfo = { // for non-[p]react
contentKey: meta.contentKey,
contentVal: innerContent[meta.contentKey],
...meta.buildLifecycleFuncs()
...meta.buildLifecycleFuncs(),
}
}
// updating
Expand Down
2 changes: 1 addition & 1 deletion packages/interaction/src/dnd/AutoScroller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export class AutoScroller {
els.push(query)
} else {
els.push(...Array.prototype.slice.call(
getElRoot(scrollStartEl).querySelectorAll(query)
getElRoot(scrollStartEl).querySelectorAll(query),
))
}
}
Expand Down

0 comments on commit 3b70e54

Please # to comment.