Skip to content

Commit

Permalink
chore: update prettier (#1472)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Nov 26, 2023
1 parent fb07a91 commit 9eb59cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/rules/consistent-test-it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ export default createRule<
node.callee.type === AST_NODE_TYPES.TaggedTemplateExpression
? node.callee.tag
: node.callee.type === AST_NODE_TYPES.CallExpression
? node.callee.callee
: node.callee;
? node.callee.callee
: node.callee;

if (
jestFnCall.type === 'test' &&
Expand Down
4 changes: 2 additions & 2 deletions src/rules/no-test-prefixes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ export default createRule({
node.callee.type === AST_NODE_TYPES.TaggedTemplateExpression
? node.callee.tag
: node.callee.type === AST_NODE_TYPES.CallExpression
? node.callee.callee
: node.callee;
? node.callee.callee
: node.callee;

context.report({
messageId: 'usePreferredName',
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9219,11 +9219,11 @@ __metadata:
linkType: hard

"prettier@npm:^3.0.0":
version: 3.0.3
resolution: "prettier@npm:3.0.3"
version: 3.1.0
resolution: "prettier@npm:3.1.0"
bin:
prettier: bin/prettier.cjs
checksum: e10b9af02b281f6c617362ebd2571b1d7fc9fb8a3bd17e371754428cda992e5e8d8b7a046e8f7d3e2da1dcd21aa001e2e3c797402ebb6111b5cd19609dd228e0
checksum: 44b556bd56f74d7410974fbb2418bb4e53a894d3e7b42f6f87779f69f27a6c272fa7fc27cec0118cd11730ef3246478052e002cbd87e9a253f9cd04a56aa7d9b
languageName: node
linkType: hard

Expand Down

0 comments on commit 9eb59cc

Please sign in to comment.