Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR committed Feb 9, 2025
1 parent b6fec59 commit 3717ecb
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
7 changes: 6 additions & 1 deletion resources/build-deno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ import ts from 'typescript';

import { changeExtensionInImportPaths } from './change-extension-in-import-paths.js';
import { inlineInvariant } from './inline-invariant.js';
import { prettify, readTSConfig, showDirStats, writeGeneratedFile } from './utils.js';
import {
prettify,
readTSConfig,
showDirStats,
writeGeneratedFile,
} from './utils.js';

fs.rmSync('./denoDist', { recursive: true, force: true });
fs.mkdirSync('./denoDist');
Expand Down
2 changes: 1 addition & 1 deletion resources/eslint-internal-rules/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ const internalRulesPlugin = {
},
};

export { internalRulesPlugin };
export { internalRulesPlugin };
2 changes: 1 addition & 1 deletion resources/eslint-internal-rules/no-dir-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ function noDirImport(context) {
}
}
}
}
}
2 changes: 1 addition & 1 deletion resources/eslint-internal-rules/only-ascii.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ function onlyASCII(context) {
}
},
};
}
}
2 changes: 1 addition & 1 deletion resources/eslint-internal-rules/require-to-string-tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ function requireToStringTag(context) {
const keyText = sourceCode.getText(propertyNode.key);
return keyText === 'Symbol.toStringTag';
}
}
}
2 changes: 1 addition & 1 deletion src/stitch/printPlan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function generateIndent(indent: number): string {
export function printPlan(
plan: FieldPlan | RootPlan,
indent = 0,
type?: GraphQLObjectType ,
type?: GraphQLObjectType,
): string {
const superSchema = plan.superSchema;
if (!('fieldTree' in plan)) {
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/visitWithMemo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ export function visitWithMemo(
} else {
stack = { inArray, index, keys, edits, prev: stack };
inArray = Array.isArray(node);
keys = inArray ? node : (visitorKeys as any)[node.kind] ?? [];
keys = inArray ? node : ((visitorKeys as any)[node.kind] ?? []);
index = -1;
edits = new Map();
if (parent != null) {
Expand Down

0 comments on commit 3717ecb

Please sign in to comment.