Open thorn0 opened 3 years ago
Error: Command failed with exit code 1: git checkout 268
error: pathspec '268' did not match any file(s) known to git
run rattrayalex/prettier#postfix-ternaries
rattrayalex/prettier@postfix-ternaries VS prettier/prettier@main :: babel/babel@2ae19d01b132f5222e1d5bee2c83921e2f107d70
rattrayalex/prettier@postfix-ternaries VS prettier/prettier@main :: vuejs/eslint-plugin-vue@62f577dcfcb859c24c6e0d4615ad880f5e1d4688
rattrayalex/prettier@postfix-ternaries VS prettier/prettier@main :: excalidraw/excalidraw@afa7932c9b25980534012b1ef85a6e9b5743b95c
+ :
{t("publishDialog.atleastOneLibItem")}
- )} + } ); }; diff --git ORI/excalidraw/src/components/Section.tsx ALT/excalidraw/src/components/Section.tsx index ebe00f8..c87a517 100644 --- ORI/excalidraw/src/components/Section.tsx +++ ALT/excalidraw/src/components/Section.tsx @@ -16,14 +16,13 @@ export const Section = ({ heading, children, ...props }: SectionProps) => { ); return ({t("roomDialog.desc_shareLink")}
HttpError: Validation Failed: {"resource":"IssueComment","code":"unprocessable","field":"data","message":"Body is too long (maximum is 65536 characters)"}
Some examples that I think look really nice:
return this.tsParseTupleType();
@@ -1081,11 +1081,9 @@ export default (superClass: Class<Parser>): Class<Parser> =>
type === tt._null
) {
const nodeType =
- type === tt._void
- ? "TSVoidKeyword"
- : type === tt._null
- ? "TSNullKeyword"
- : keywordTypeFromName(this.state.value);
+ type === tt._void ? "TSVoidKeyword"
+ : type === tt._null ? "TSNullKeyword"
+ : keywordTypeFromName(this.state.value);
if (
nodeType !== undefined &&
this.lookaheadCharCode() !== charCodes.dot
@@ -1157,11 +1155,11 @@ export default (superClass: Class<Parser>): Class<Parser> =>
tsParseTypeOperatorOrHigher(): N.TsType {
const isTypeOperator =
tokenIsTSTypeOperator(this.state.type) && !this.state.containsEsc;
- return isTypeOperator
- ? this.tsParseTypeOperator()
- : this.isContextual(tt._infer)
- ? this.tsParseInferType()
- : this.tsParseArrayTypeOrHigher();
+ return (
+ isTypeOperator ? this.tsParseTypeOperator()
+ : this.isContextual(tt._infer) ? this.tsParseInferType()
+ : this.tsParseArrayTypeOrHigher()
+ );
}
One thing that looks like it might be a bug:
--- ORI/babel/eslint/babel-eslint-tests/test/integration/config-files.js
+++ ALT/babel/eslint/babel-eslint-tests/test/integration/config-files.js
@@ -17,10 +17,11 @@ describe("Babel config files", () => {
).toMatchObject({ errorCount: 0 });
});
- const babel7node12 =
- process.env.BABEL_8_BREAKING || parseInt(process.versions.node) < 12
- ? it.skip
- : it;
+ const babel7node12 = (
+ process.env.BABEL_8_BREAKING || parseInt(process.versions.node) < 12
+ ) ?
+ it.skip
+ : it;
And I see several examples where the short-consequent case-style looks weird, eg:
- this.input.charCodeAt(this.state.pos + 2) === charCodes.equalsTo
- ? 3
- : 2,
+ this.input.charCodeAt(this.state.pos + 2) === charCodes.equalsTo ? 3
+ : 2,
run rattrayalex/prettier#268