From 9345a6900f0de5647dd1591cb3c1fee0258b4956 Mon Sep 17 00:00:00 2001 From: socram03 Date: Mon, 12 Jun 2023 15:24:47 +0000 Subject: [PATCH] ci(rome): rules update --- package.json | 4 ++-- packages/helpers/src/commands/slash/SlashCommand.ts | 6 +----- rome.json | 3 +++ 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index aa1138a..93bb62e 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "build": "turbo run build", "clean": "turbo run clean", "check": "rome check ./packages/", - "check:apply": "rome check ./packages/ --apply", - "lint": "rome format ./packages/ --write --quote-style single --trailing-comma none", + "check:apply": "rome check --apply --max-diagnostics 200 --quote-style single --trailing-comma none ./packages/", + "lint": "rome format --write --quote-style single --trailing-comma none ./packages/", "dev": "turbo run dev --parallel" }, "engines": { diff --git a/packages/helpers/src/commands/slash/SlashCommand.ts b/packages/helpers/src/commands/slash/SlashCommand.ts index 37a5a3d..803b5ac 100644 --- a/packages/helpers/src/commands/slash/SlashCommand.ts +++ b/packages/helpers/src/commands/slash/SlashCommand.ts @@ -1,8 +1,4 @@ -import { - ApplicationCommandType, - PermissionFlagsBits, - RESTPostAPIChatInputApplicationCommandsJSONBody, -} from '@biscuitland/common'; +import { ApplicationCommandType, PermissionFlagsBits, RESTPostAPIChatInputApplicationCommandsJSONBody } from '@biscuitland/common'; import { AllSlashOptions, SlashSubcommandGroupOption, SlashSubcommandOption } from './SlashCommandOption'; import { PermissionsStrings } from '../../Utils'; import { Mixin } from 'ts-mixer'; diff --git a/rome.json b/rome.json index 0fc5b63..dcddb51 100644 --- a/rome.json +++ b/rome.json @@ -30,5 +30,8 @@ "tsup.config.ts", "__test__" ] + }, + "organizeImports": { + "enabled": true } }