Skip to content

Commit

Permalink
[auto] Update Settings
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 13, 2023
1 parent 84342e6 commit e7b8055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@
"description": "check for calls of reflect.DeepEqual on error values\nThe deepequalerrors checker looks for calls of the form:\n reflect.DeepEqual(err1, err2)\nwhere err1 and err2 are errors. Using reflect.DeepEqual to compare\nerrors is discouraged.",
"default": true
},
"defer": {
"defers": {
"type": "boolean",
"description": "report common mistakes in defer statements\nThe defer analyzer reports a diagnostic when a defer statement would\nresult in a non-deferred call to time.Since, as experience has shown\nthat this is nearly always a mistake.\nFor example:\n\tstart := time.Now()\n\t...\n\tdefer recordLatency(time.Since(start)) // error: call to time.Since is not deferred\nThe correct code is:\n\tdefer func() { recordLatency(time.Since(start)) }()",
"description": "report common mistakes in defer statements\nThe defers analyzer reports a diagnostic when a defer statement would\nresult in a non-deferred call to time.Since, as experience has shown\nthat this is nearly always a mistake.\nFor example:\n\tstart := time.Now()\n\t...\n\tdefer recordLatency(time.Since(start)) // error: call to time.Since is not deferred\nThe correct code is:\n\tdefer func() { recordLatency(time.Since(start)) }()",
"default": true
},
"deprecated": {
Expand Down

0 comments on commit e7b8055

Please sign in to comment.