Skip to content

Commit fec7cd1

Browse files
committed
fix prettier fighting eslint
1 parent 1b4d6cf commit fec7cd1

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.eslintrc.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ rules:
2222
no-constant-condition: [error, { checkLoops: false }]
2323
# NOTE: the jest intended way of adding __mocks__ in the production code structure is not an option for me and this
2424
# is the best alternative I could find.
25-
comma-dangle: [error, { arrays: always-multiline, objects: always-multiline, functions: never }]
2625
jest/no-mocks-import: [off]

.prettierrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
---
22
printWidth: 120
3+
trailingComma: es5

test/logger.test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ const cleanupJSONLogCalls = (args) =>
3838
const newData = Object.fromEntries(
3939
Object.entries(data)
4040
.filter(
41-
([key, value]) =>
42-
!["written_at", "written_ts", "correlation_id"].includes(key) && !["-", "0"].includes(value)
41+
([key, value]) => !["written_at", "written_ts", "correlation_id"].includes(key) && !["-", "0"].includes(value)
4342
)
4443
.map(([key, value]) => {
4544
if (["stacktrace"].includes(key)) {

0 commit comments

Comments
 (0)