Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion site/.oxlintrc.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
"one-var": ["error", "never"],
"prefer-number-properties": ["error", { "checkInfinity": true }],
"no-else-return": ["error", { "allowElseIf": false }],
"no-inferrable-types": "error",

// --- suspicious ---
"no-cond-assign": "error",
Expand Down Expand Up @@ -206,7 +207,6 @@
"no-autofocus": "off", // a11y/noAutofocus (large)
"no-invalid-void-type": "off", // suspicious/noConfusingVoidType (large)
"no-redeclare": "off", // suspicious/noRedeclare (medium: TS declaration merging)
"no-inferrable-types": "off", // style/noInferrableTypes (medium, coder error rule)
"jsx-curly-brace-presence": "off", // style/useConsistentCurlyBraces (medium, coder error rule)
"no-fallthrough": "off", // suspicious/noFallthroughSwitchClause (medium)
"click-events-have-key-events": "off", // a11y/useKeyWithClickEvents (small)
Expand Down
2 changes: 1 addition & 1 deletion site/src/api/queries/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export const templateExamples = () => {
};
};

export const templateVersionRoot: string = "templateVersion";
export const templateVersionRoot = "templateVersion";

export const templateVersion = (versionId: string) => {
return {
Expand Down
2 changes: 1 addition & 1 deletion site/src/testHelpers/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ export const MockImportedUserSecrets: TypesGen.UserSecret[] = [
},
];

export const MockAIGatewayEnabled: boolean = true;
export const MockAIGatewayEnabled = true;

export const MockOrganizationMember: TypesGen.OrganizationMemberWithUserData = {
organization_id: MockOrganization.id,
Expand Down
Loading