Skip to content

Commit 5a7014c

Browse files
committed
modify lint message
1 parent 5ad9c7e commit 5a7014c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/eslint-plugin-aws-toolkits/lib/rules/no-json-stringify-in-log.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { AST_NODE_TYPES, ESLintUtils, TSESTree } from '@typescript-eslint/utils'
77
import { Rule } from 'eslint'
88

99
export const errMsg =
10-
'Avoid using JSON.stringify within logging and error messages, prefer %O. Note: %O has a depth limit of 2'
10+
'Avoid using JSON.stringify within logging and error messages, prefer %O in general or inspect from collectionUtils for custom depth formatting'
1111

1212
/**
1313
* Check if a given expression is a JSON.stringify call.

0 commit comments

Comments
 (0)