refactor(editor): Apply Prettier (no-changelog) (#4920)

*  Adjust `format` script

* 🔥 Remove exemption for `editor-ui`

* 🎨 Prettify

* 👕 Fix lint
This commit is contained in:
Iván Ovejero
2022-12-14 10:04:10 +01:00
committed by GitHub
parent bcde07e032
commit 5ca2148c7e
284 changed files with 19247 additions and 15540 deletions

View File

@@ -20,7 +20,7 @@ export default () => {
if (!(clickedElement instanceof Element) || clickedElement.tagName !== 'A') return;
const actionAttribute = clickedElement.getAttribute('data-action');
if(actionAttribute && typeof availableActions.value[actionAttribute] === 'function') {
if (actionAttribute && typeof availableActions.value[actionAttribute] === 'function') {
e.preventDefault();
availableActions.value[actionAttribute]();
}
@@ -34,7 +34,7 @@ export default () => {
}
}
const availableActions = computed<{[key: string]: Function}>(() => ({
const availableActions = computed<{ [key: string]: Function }>(() => ({
reload,
...state.customActions,
}));
@@ -56,4 +56,3 @@ export default () => {
unregisterCustomAction,
};
};