We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a5b41b commit 2cf3737Copy full SHA for 2cf3737
lib/rules/forbid-component-props.js
@@ -55,7 +55,7 @@ module.exports = {
55
56
create: function(context) {
57
const configuration = context.options[0] || {};
58
- const forbid = new Map((configuration.forbid || DEFAULTS).map((value) => {
+ const forbid = new Map((configuration.forbid || DEFAULTS).map(value => {
59
const propName = (typeof value === 'string') ? value : value.propName;
60
const whitelist = (typeof value === 'string') ? [] : (value.allowedFor || []);
61
return [propName, whitelist];
0 commit comments