mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 22:21:51 +00:00
chore: run prettier on unformatted files
This commit is contained in:
parent
1d5d8d96de
commit
09125956a0
2 changed files with 2 additions and 5 deletions
|
@ -30,7 +30,7 @@ export const ThreadCreateSpamTrigger = automodTrigger<unknown>()({
|
||||||
const totalCount = sumRecentActionCounts(matchingActions);
|
const totalCount = sumRecentActionCounts(matchingActions);
|
||||||
|
|
||||||
if (totalCount >= triggerConfig.amount) {
|
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({
|
pluginData.state.recentSpam.push({
|
||||||
type: RecentActionType.ThreadCreate,
|
type: RecentActionType.ThreadCreate,
|
||||||
|
|
|
@ -24,8 +24,5 @@
|
||||||
"useUnknownInCatchVariables": false,
|
"useUnknownInCatchVariables": false,
|
||||||
"allowJs": true
|
"allowJs": true
|
||||||
},
|
},
|
||||||
"include": [
|
"include": ["src/**/*.ts", "ormconfig.js"]
|
||||||
"src/**/*.ts",
|
|
||||||
"ormconfig.js"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue