Skip to content

Commit

Permalink
Force space at beginning of comments (#15968)
Browse files Browse the repository at this point in the history
  • Loading branch information
timroes authored Aug 25, 2022
1 parent 00a1aba commit 4881944
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions airbyte-webapp/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"prefer-destructuring": ["warn", { "AssignmentExpression": { "array": true } }],
"prefer-object-spread": "warn",
"prefer-template": "warn",
"spaced-comment": ["warn", "always", { "markers": ["/"] }],
"yoda": "warn",
"import/order": [
"warn",
Expand Down
2 changes: 1 addition & 1 deletion airbyte-webapp/src/components/Link/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface ILinkProps {
}

// TODO: fix typings
const Link = styled(ReactLink)<ILinkProps /*& ReactLinkProps */>`
const Link = styled(ReactLink)<ILinkProps /* & ReactLinkProps */>`
color: ${({ theme, $light }) => ($light ? theme.darkGreyColor : theme.primaryColor)};
font-weight: ${({ bold }) => (bold ? "bold" : "normal")};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ const MainView: React.FC = (props) => {
} else if (alertToShow === "trial") {
const { trialExpiryTimestamp } = cloudWorkspace;

//calculate difference between timestamp (in epoch milliseconds) and now (in epoch milliseconds)
//empty timestamp is 0
// calculate difference between timestamp (in epoch milliseconds) and now (in epoch milliseconds)
// empty timestamp is 0
const trialRemainingMilliseconds = trialExpiryTimestamp ? trialExpiryTimestamp - Date.now() : 0;

//calculate days (rounding up if decimal)
// calculate days (rounding up if decimal)
const trialRemainingDays = Math.ceil(trialRemainingMilliseconds / (1000 * 60 * 60 * 24));

return formatMessage({ id: "trial.alertMessage" }, { value: trialRemainingDays });
Expand Down
2 changes: 1 addition & 1 deletion airbyte-webapp/src/setupProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = (app) => {
});
// Serve the doc markdowns and assets that are also bundled into the docker image
app.use("/docs/integrations", express.static(`${__dirname}/../../docs/integrations`));
//workaround for adblockers to serve google ads docs in development
// workaround for adblockers to serve google ads docs in development
app.use(
"/docs/integrations/sources/gglad.md",
express.static(`${__dirname}/../../docs/integrations/sources/google-ads.md`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const RightPanelContainer: React.FC<React.PropsWithChildren<PanelContainerProps>
</>
);
};
//NOTE: ReflexElement will not load its contents if wrapped in an empty jsx tag along with ReflexSplitter. They must be evaluated/rendered separately.
// NOTE: ReflexElement will not load its contents if wrapped in an empty jsx tag along with ReflexSplitter. They must be evaluated/rendered separately.

export const ConnectorDocumentationLayout: React.FC = ({ children }) => {
const { documentationPanelOpen } = useDocumentationPanelContext();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const FormikPatch: React.FC = () => {
return null;
};

/***
/**
* This function sets all initial const values in the form to current values
* @param schema
* @constructor
Expand Down

0 comments on commit 4881944

Please sign in to comment.