Skip to content

Commit

Permalink
Merge pull request #11 from Mara-Li/custom-critical
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li authored Dec 7, 2024
2 parents 3f3f594 + e21e15b commit f6fbda3
Show file tree
Hide file tree
Showing 141 changed files with 3,921 additions and 4,377 deletions.
18 changes: 0 additions & 18 deletions .eslintrc.cjs

This file was deleted.

3 changes: 2 additions & 1 deletion .github/workflows/update_ssh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ jobs:
cd dicelette/
git pull
pnpm i
pnpm run restart
pnpm run build
pnpm run pm2:restart
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
enable-pre-post-scripts=true
use-node-version=20.14.0
link-workspace-packages=true
prefer-workspace-packages=true
recursive-install=true
525 changes: 0 additions & 525 deletions CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To create your own translation, you need to copy and translate the [`en.ts`](./s
> The name must follow the [Discord.js Locale](https://github.com/discordjs/discord-api-types/blob/main/rest/common.ts#L300)
> For example, `ChineseCN` for Chinese (China) or `ChineseTW` for Chinese (Taiwan).
You need, after that, to update the [`index.ts`](./src/localizations/index.ts) file to add your translation :
You need, after that, to update the [`database.ts`](./src/localizations/index.ts) file to add your translation :
```ts
import newTranslation from "./locales/{translation}";

Expand Down
16 changes: 3 additions & 13 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"ignore": ["node_modules", "dist"]
},
"organizeImports": {
"enabled": true,
"ignore": ["src/index.ts"]
"enabled": true
},
"linter": {
"rules": {
Expand All @@ -14,6 +13,7 @@
"noVar": "error",
"useFilenamingConvention": "error",
"useImportType": "error",
"noParameterAssign": "off",
"useNamingConvention": {
"level": "warn",
"options": {
Expand Down Expand Up @@ -88,17 +88,7 @@
{ "include": ["**/*.js"] },
{ "include": ["*.json"] },
{
"include": ["src/@types/essential-md.d.ts"],
"linter": {
"rules": {
"suspicious": {
"noExplicitAny": "off"
}
}
}
},
{
"include": ["src/commands/gimmick/graph.ts"],
"include": ["packages/src/bot/commands/tools/graph.ts"],
"linter": {
"rules": {
"style": {
Expand Down
239 changes: 0 additions & 239 deletions db-management.ts

This file was deleted.

Loading

0 comments on commit f6fbda3

Please sign in to comment.