style: configure prettier

This commit is contained in:
Lukas Obermann
2024-01-09 21:22:23 +01:00
parent 8f06497046
commit 6c1f01578a
2 changed files with 6 additions and 2 deletions
+3
View File
@@ -0,0 +1,3 @@
semi: false
arrowParens: avoid
printWidth: 100
+3 -2
View File
@@ -32,7 +32,7 @@ export const config: CacheConfig<NewApplicationsAndUsesCache> = {
const addNewApplicationsAndUses = (
activatable: WithApplicationsAndUses,
activatableId: ActivatableIdentifier,
activatableId: ActivatableIdentifier
) => {
if (activatable.skill_applications) {
for (const newApplication of activatable.skill_applications) {
@@ -68,6 +68,7 @@ export const config: CacheConfig<NewApplicationsAndUsesCache> = {
}
}
// prettier-ignore
const entries: [
[id: number, data: WithApplicationsAndUses][],
(numericId: number) => ActivatableIdentifier,
@@ -97,5 +98,5 @@ export const config: CacheConfig<NewApplicationsAndUsesCache> = {
})
return cache
}
},
}