Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: extendbiome.jsonc with"useConsistentCurlyBraces": "error"#21379

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
jakehwll wants to merge4 commits intomain
base:main
Choose a base branch
Loading
fromjakehwll/chore-consistent-curly-braces
Open
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletionsbiome.jsonc
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,12 +36,13 @@
"useAsConstAssertion": "error",
"useEnumInitializers": "error",
"useSingleVarDeclarator": "error",
"useConsistentCurlyBraces": "error",
"noUnusedTemplateLiteral": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error",
"noUselessElse": "error",
"noRestrictedImports": {
"level": "error",
"noRestrictedImports": {
"level": "error",
"options": {
"paths": {
// "@mui/material/Alert": "Use components/Alert/Alert instead.",
Expand Down
2 changes: 1 addition & 1 deletionsite/src/components/Breadcrumb/Breadcrumb.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -95,7 +95,7 @@ export const BreadcrumbSeparator: FC<ComponentProps<"li">> = ({
)}
{...props}
>
{"/"}
/
</li>
);

Expand Down
2 changes: 1 addition & 1 deletionsite/src/components/SignInLayout/SignInLayout.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,7 +7,7 @@ export const SignInLayout: FC<PropsWithChildren> = ({ children }) => {
{children}
</div>
<divclassName="text-xs text-content-secondary pt-6">
{"\u00a9"}{newDate().getFullYear()} Coder Technologies, Inc.
&copy;{newDate().getFullYear()} Coder Technologies, Inc.
</div>
</div>
</div>
Expand Down
5 changes: 1 addition & 4 deletionssite/src/modules/dashboard/Navbar/NavbarView.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -272,10 +272,7 @@ const SupportButton: FC<SupportButtonProps> = ({ name, target, icon }) => {
className="inline-block"
>
{icon && (
<SupportIcon
icon={icon}
className={"size-5 text-content-secondary"}
/>
<SupportIcon icon={icon} className="size-5 text-content-secondary" />
)}
{name}
<span className="sr-only"> (link opens in new tab)</span>
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -66,7 +66,7 @@ export const RequestLogsPageView: FC<RequestLogsPageViewProps> = ({
{isLoading ? (
<TableLoader />
) : interceptions?.length === 0 ? (
<TableEmpty message={"No request logs available"} />
<TableEmpty message="No request logs available" />
) : (
interceptions?.map((interception) => (
<RequestLogsRow
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -173,7 +173,7 @@ export const RequestLogsRow: FC<RequestLogsRowProps> = ({ interception }) => {
<Avatar
fallback={interception.initiator.username}
src={interception.initiator.avatar_url}
size={"lg"}
size="lg"
className="flex-shrink-0"
/>
<divclassName="font-medium truncate min-w-0 flex-1 overflow-hidden">
Expand DownExpand Up@@ -303,7 +303,7 @@ export const RequestLogsRow: FC<RequestLogsRowProps> = ({ interception }) => {
<Avatar
fallback={interception.initiator.username}
src={interception.initiator.avatar_url}
size={"sm"}
size="sm"
className="flex-shrink-0"
/>
<spanclassName="truncate min-w-0 w-full">
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -53,8 +53,8 @@ interface ProviderFilterProps {
export const ProviderFilter: FC<ProviderFilterProps> = ({ menu }) => {
return (
<SelectFilter
label={"Select provider"}
placeholder={"All providers"}
label="Select provider"
placeholder="All providers"
emptyText="No providers found"
options={menu.searchOptions}
onSelect={(option) => menu.selectOption(option)}
Expand Down
2 changes: 1 addition & 1 deletionsite/src/pages/CliInstallPage/CliInstallPageView.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -30,7 +30,7 @@ export const CliInstallPageView: FC<CliInstallPageViewProps> = ({ origin }) => {
</RouterLink>
</div>
<div css={styles.copyright}>
{"\u00a9"} {new Date().getFullYear()} Coder Technologies, Inc.
&copy; {new Date().getFullYear()} Coder Technologies, Inc.
</div>
</div>
);
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -21,7 +21,7 @@ export const ExportPolicyButton: FC<ExportPolicyButtonProps> = ({

return(
<Button
variant={"outline"}
variant="outline"
disabled={!canCreatePolicyJson||isDownloading}
onClick={async()=>{
if(canCreatePolicyJson){
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -376,7 +376,7 @@ const IdpMappingTable: FC<IdpMappingTableProps> = ({ isEmpty, children }) => {
<TableRow>
<TableCell colSpan={999}>
<EmptyState
message={"No organization mappings"}
message="No organization mappings"
isCompact
cta={
<Link
Expand Down
2 changes: 1 addition & 1 deletionsite/src/pages/TaskPage/ModifyPromptDialog.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -108,7 +108,7 @@ export const ModifyPromptDialog: FC<ModifyPromptDialogProps> = ({
<ErrorAlert error={updatePromptMutation.error} />
)}
{workspaceBuildRunning && (
<ErrorAlert error={"Cannot modify the prompt of a running task"} />
<ErrorAlert error="Cannot modify the prompt of a running task" />
)}

<div>
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -228,13 +228,13 @@ const TemplateEmbedPageView: FC<TemplateEmbedPageViewProps> = ({
>
<div className="flex items-center gap-3">
<RadioGroupItem value="manual" id="manual" />
<Label htmlFor={"manual"} className="cursor-pointer">
<Label htmlFor="manual" className="cursor-pointer">
Manual
</Label>
</div>
<div className="flex items-center gap-3">
<RadioGroupItem value="auto" id="automatic" />
<Label htmlFor={"automatic"} className="cursor-pointer">
<Label htmlFor="automatic" className="cursor-pointer">
Automatic
</Label>
</div>
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -102,7 +102,7 @@ export const PublishTemplateVersionDialog: FC<
rows={5}
/>

<Stack direction={"row"}>
<Stack direction="row">
<FormControlLabel
label={Language.defaultCheckboxLabel}
control={
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp