Skip to content

Commit

Permalink
fix prettier fighting eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
rlindner81 committed Jul 18, 2023
1 parent 1b4d6cf commit fec7cd1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ rules:
no-constant-condition: [error, { checkLoops: false }]
# NOTE: the jest intended way of adding __mocks__ in the production code structure is not an option for me and this
# is the best alternative I could find.
comma-dangle: [error, { arrays: always-multiline, objects: always-multiline, functions: never }]
jest/no-mocks-import: [off]
1 change: 1 addition & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
---
printWidth: 120
trailingComma: es5
3 changes: 1 addition & 2 deletions test/logger.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ const cleanupJSONLogCalls = (args) =>
const newData = Object.fromEntries(
Object.entries(data)
.filter(
([key, value]) =>
!["written_at", "written_ts", "correlation_id"].includes(key) && !["-", "0"].includes(value)
([key, value]) => !["written_at", "written_ts", "correlation_id"].includes(key) && !["-", "0"].includes(value)
)
.map(([key, value]) => {
if (["stacktrace"].includes(key)) {
Expand Down

0 comments on commit fec7cd1

Please sign in to comment.