ci(rome): rules update

This commit is contained in:
socram03 2023-06-12 15:24:47 +00:00
parent 0db0bd9e98
commit 9345a6900f
3 changed files with 6 additions and 7 deletions

View File

@ -7,8 +7,8 @@
"build": "turbo run build", "build": "turbo run build",
"clean": "turbo run clean", "clean": "turbo run clean",
"check": "rome check ./packages/", "check": "rome check ./packages/",
"check:apply": "rome check ./packages/ --apply", "check:apply": "rome check --apply --max-diagnostics 200 --quote-style single --trailing-comma none ./packages/",
"lint": "rome format ./packages/ --write --quote-style single --trailing-comma none", "lint": "rome format --write --quote-style single --trailing-comma none ./packages/",
"dev": "turbo run dev --parallel" "dev": "turbo run dev --parallel"
}, },
"engines": { "engines": {

View File

@ -1,8 +1,4 @@
import { import { ApplicationCommandType, PermissionFlagsBits, RESTPostAPIChatInputApplicationCommandsJSONBody } from '@biscuitland/common';
ApplicationCommandType,
PermissionFlagsBits,
RESTPostAPIChatInputApplicationCommandsJSONBody,
} from '@biscuitland/common';
import { AllSlashOptions, SlashSubcommandGroupOption, SlashSubcommandOption } from './SlashCommandOption'; import { AllSlashOptions, SlashSubcommandGroupOption, SlashSubcommandOption } from './SlashCommandOption';
import { PermissionsStrings } from '../../Utils'; import { PermissionsStrings } from '../../Utils';
import { Mixin } from 'ts-mixer'; import { Mixin } from 'ts-mixer';

View File

@ -30,5 +30,8 @@
"tsup.config.ts", "tsup.config.ts",
"__test__" "__test__"
] ]
},
"organizeImports": {
"enabled": true
} }
} }