Skip to content

Commit 2cf3737

Browse files
committed
Fix eslint violation
1 parent 3a5b41b commit 2cf3737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/forbid-component-props.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ module.exports = {
5555

5656
create: function(context) {
5757
const configuration = context.options[0] || {};
58-
const forbid = new Map((configuration.forbid || DEFAULTS).map((value) => {
58+
const forbid = new Map((configuration.forbid || DEFAULTS).map(value => {
5959
const propName = (typeof value === 'string') ? value : value.propName;
6060
const whitelist = (typeof value === 'string') ? [] : (value.allowedFor || []);
6161
return [propName, whitelist];

0 commit comments

Comments
 (0)