Skip to content

Commit

Permalink
Bump prettier and typescript-eslint (#1989)
Browse files Browse the repository at this point in the history
  • Loading branch information
pokey authored Nov 3, 2023
1 parent 9fc9f0e commit 2df07ac
Show file tree
Hide file tree
Showing 5 changed files with 116 additions and 118 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
"devDependencies": {
"@pnpm/meta-updater": "1.0.0",
"@types/node": "^16.11.3",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "3.5.5",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-unused-imports": "^2.0.0",
"prettier": "3.0.0",
"eslint-plugin-unused-imports": "^3.0.0",
"prettier": "3.0.3",
"syncpack": "9.8.4",
"tsx": "3.12.3",
"typescript": "^5.1.6"
Expand Down
5 changes: 2 additions & 3 deletions packages/cursorless-engine/src/actions/Find.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ export class FindInWorkspace implements SimpleAction {
async run(targets: Target[]): Promise<ActionReturnValue> {
ensureSingleTarget(targets);

const { returnValue, thatTargets } = await this.actions.getText.run(
targets,
);
const { returnValue, thatTargets } =
await this.actions.getText.run(targets);
const [text] = returnValue as [string];

let query: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,8 @@ export class TestCaseRecorder {
const keys = targetedMarks.map(({ character, symbolColor }) =>
getKey(symbolColor, character),
);
const readableHatMap = await this.hatTokenMap.getReadableMap(
usePrePhraseSnapshot,
);
const readableHatMap =
await this.hatTokenMap.getReadableMap(usePrePhraseSnapshot);
marks = marksToPlainObject(extractTargetedMarks(keys, readableHatMap));
} else {
marks = undefined;
Expand Down
5 changes: 2 additions & 3 deletions packages/meta-updater/src/updatePackageJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,8 @@ async function getScripts(
if (isRoot) {
// Ensure that `pnpm transform-recorded-tests` mirrors what is in pre-commit
// config
scripts["transform-recorded-tests"] = await getTransformRecordedTestsScript(
packageDir,
);
scripts["transform-recorded-tests"] =
await getTransformRecordedTestsScript(packageDir);

return scripts;
}
Expand Down
Loading

0 comments on commit 2df07ac

Please sign in to comment.