Skip to content

Commit 07c516b

Browse files
committed
Fix linting
1 parent 8ae9679 commit 07c516b

4 files changed

Lines changed: 18 additions & 17 deletions

File tree

‎packages/assemble-release-plan/src/test-utils.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ let getSimpleSetup = () => ({
5858
relativeDir: ".",
5959
},
6060
packages: [getPackage({ name: "pkg-a", version: "1.0.0" })],
61-
tool: YarnTool
61+
tool: YarnTool,
6262
},
6363
changesets: [
6464
getChangeset({ releases: [getRelease({ name: "pkg-a", type: "patch" })] }),

‎packages/cli/src/commands/add/__tests__/add.ts‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -372,17 +372,17 @@ describe("Changesets", () => {
372372
it("generates a changeset", async () => {
373373
const cwd = await testdir({
374374
"rush.json": JSON.stringify({
375-
"projects": [
375+
projects: [
376376
{
377-
"projectFolder": "libraries/a",
378-
"packageName": "@example/a"
379-
}
380-
]
377+
projectFolder: "libraries/a",
378+
packageName: "@example/a",
379+
},
380+
],
381381
}),
382382
"libraries/a/package.json": JSON.stringify({
383383
name: "@example/a",
384-
version: "1.0.0"
385-
})
384+
version: "1.0.0",
385+
}),
386386
});
387387

388388
const summary = "summary message mock";

‎packages/cli/src/commands/version/version.test.ts‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -189,16 +189,16 @@ describe("running version in a simple project", () => {
189189
it("should bump releasedPackages", async () => {
190190
const cwd = await testdir({
191191
"rush.json": JSON.stringify({
192-
"projects": [
192+
projects: [
193193
{
194-
"projectFolder": "packages/pkg-a",
195-
"packageName": "pkg-a"
194+
projectFolder: "packages/pkg-a",
195+
packageName: "pkg-a",
196196
},
197197
{
198-
"projectFolder": "packages/pkg-b",
199-
"packageName": "pkg-b"
200-
}
201-
]
198+
projectFolder: "packages/pkg-b",
199+
packageName: "pkg-b",
200+
},
201+
],
202202
}),
203203
"packages/pkg-a/package.json": JSON.stringify({
204204
name: "pkg-a",

‎packages/get-dependents-graph/src/get-dependency-graph.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ export default function getDependencyGraph(
6868

6969
if (packages.rootPackage) {
7070
queue.push(packages.rootPackage);
71-
packagesByName[packages.rootPackage.packageJson.name] = packages.rootPackage;
72-
};
71+
packagesByName[packages.rootPackage.packageJson.name] =
72+
packages.rootPackage;
73+
}
7374

7475
for (const pkg of packages.packages) {
7576
queue.push(pkg);

0 commit comments

Comments
 (0)