Skip to content

Commit 0e8c482

Browse files
committed
fix on function and modifier parameters
1 parent d73ebed commit 0e8c482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/best-practices/no-unused-vars.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const ruleId = 'no-unused-vars'
99

1010
/** ==== Config defaults ==== */
1111
const DEFAULT_PARAMETERS_VALIDATION = true
12-
const DEFAULT_SEVERITY = 'error'
12+
const DEFAULT_SEVERITY = 'warn'
1313
const DEFAULT_OPTION = { validateParameters: DEFAULT_PARAMETERS_VALIDATION }
1414
const ERR_DESCRIPTION =
1515
'Reports unused variables. When true, reports function and modifiers parameters. When false, parameters are ignored (useful for abstract/virtual NatSpec).'

0 commit comments

Comments
 (0)