chore: run prettier on unformatted files

This commit is contained in:
Dragory 2021-11-03 16:54:21 +02:00
parent 1d5d8d96de
commit 09125956a0
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
2 changed files with 2 additions and 5 deletions

View file

@ -30,7 +30,7 @@ export const ThreadCreateSpamTrigger = automodTrigger<unknown>()({
const totalCount = sumRecentActionCounts(matchingActions);
if (totalCount >= triggerConfig.amount) {
const extraContexts = matchingActions.map(a => a.context).filter(c => c !== context);
const extraContexts = matchingActions.map((a) => a.context).filter((c) => c !== context);
pluginData.state.recentSpam.push({
type: RecentActionType.ThreadCreate,

View file

@ -24,8 +24,5 @@
"useUnknownInCatchVariables": false,
"allowJs": true
},
"include": [
"src/**/*.ts",
"ormconfig.js"
]
"include": ["src/**/*.ts", "ormconfig.js"]
}