Skip to content

Commit 1d9e789

Browse files
style: small fix up
1 parent b59fa0e commit 1d9e789

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/rules/prefer-tacit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function isDirectChildOfGetter(node: TSESTree.Node): boolean {
127127
return false;
128128
}
129129

130-
return parent.kind === 'get';
130+
return parent.kind === "get";
131131
}
132132

133133
/**

tests/rules/prefer-tacit.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ describe(name, () => {
9797
`);
9898
});
9999

100-
it("doesn't report getters", () => {
101-
valid(dedent`
100+
it("doesn't report getters", async () => {
101+
await valid(dedent`
102102
const foo = () => {
103103
const getBar = () => 1;
104104
const setBar = (value: number) => {};

0 commit comments

Comments
 (0)