fix formatting and globs in package.json (#440)

This commit is contained in:
Almeida 2023-12-27 18:30:08 +00:00 committed by GitHub
parent 94a712832a
commit cf55eb161f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -287,8 +287,8 @@ export class GuildCounters extends BaseGuildRepository {
return (await entityManager.findOne(CounterTrigger, { return (await entityManager.findOne(CounterTrigger, {
where: { where: {
id: insertResult.identifiers[0].id id: insertResult.identifiers[0].id,
} },
}))!; }))!;
}); });
} }

View file

@ -4,9 +4,9 @@
"description": "", "description": "",
"private": true, "private": true,
"scripts": { "scripts": {
"format": "prettier --write './backend/src/**/*.{css,html,js,json,ts,tsx}' './dashboard/src/**/*.{css,html,js,json,ts,tsx}'", "format": "prettier --write \"./backend/src/**/*.{css,html,js,json,ts,tsx}\" \"./dashboard/src/**/*.{css,html,js,json,ts,tsx}\"",
"lint": "eslint './backend/src/**/*.{js,ts,tsx}' './dashboard/src/**/*.{js,ts,tsx}'", "lint": "eslint \"./backend/src/**/*.{js,ts,tsx}\" \"./dashboard/src/**/*.{js,ts,tsx}\"",
"codestyle-check": "prettier --check './backend/src/**/*.{css,html,js,json,ts,tsx}' './dashboard/src/**/*.{css,html,js,json,ts,tsx}'" "codestyle-check": "prettier --check \"./backend/src/**/*.{css,html,js,json,ts,tsx}\" \"./dashboard/src/**/*.{css,html,js,json,ts,tsx}\""
}, },
"devDependencies": { "devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.5", "@typescript-eslint/eslint-plugin": "^5.59.5",